99# Licensed by GPL V2 or greater
1010# #################################
1111
12+ if [[ $( pgrep -c biglinux-verify) > 1 ]]; then
13+ exit
14+ fi
15+
1216export LANGUAGE=$( cat /tmp/big_language) .UTF-8
1317export LANG=$( cat /tmp/big_language) .UTF-8
1418
@@ -18,47 +22,48 @@ export TEXTDOMAIN=biglinux-livecd
1822
1923File=" /tmp/checksum_biglinux.html"
2024FileVerified=" /tmp/checksum_biglinux_ok.html"
25+ ScriptFolder=" ${0%/* } "
2126
2227if [ ! -e $FileVerified ]; then
2328
2429 # ##### Detecting folder with files
2530 # Try with manjaro folder
2631 if [[ -e /run/miso/bootmnt/manjaro/x86_64/ ]]; then
27- cd /run/miso/bootmnt/manjaro/x86_64/
32+ cd /run/miso/bootmnt/manjaro/x86_64/
2833
2934 # Try with folder same as HOSTNAME
3035 elif [[ -e /run/miso/bootmnt/$HOSTNAME /x86_64/ ]]; then
31- cd /run/miso/bootmnt/$HOSTNAME /x86_64/
36+ cd /run/miso/bootmnt/$HOSTNAME /x86_64/
3237
3338 # Try folder removing efi and boot folder
3439 elif [[ -e $( ls -d1 /run/miso/bootmnt/* / | grep -ve ' /efi/' -ve ' /boot/' ) ]]; then
35- cd $( ls -d1 /run/miso/bootmnt/* / | grep -ve ' /efi/' -ve ' /boot/' )
40+ cd $( ls -d1 /run/miso/bootmnt/* / | grep -ve ' /efi/' -ve ' /boot/' )
3641 fi
3742 # #####
3843
3944 rm -f $File
4045
4146 md5sum --status -c desktopfs.md5
4247 if [ " $? " != " 0" ] ; then
43- . /md5error.sh
48+ $ScriptFolder /md5error.sh
4449 exit
4550 fi
4651
4752 md5sum --status -c livefs.md5
4853 if [ " $? " != " 0" ] ; then
49- . /md5error.sh
54+ $ScriptFolder /md5error.sh
5055 exit
5156 fi
5257
5358 md5sum --status -c mhwdfs.md5
5459 if [ " $? " != " 0" ] ; then
55- . /md5error.sh
60+ $ScriptFolder /md5error.sh
5661 exit
5762 fi
5863
5964 md5sum --status -c rootfs.md5
6065 if [ " $? " != " 0" ] ; then
61- . /md5error.sh
66+ $ScriptFolder /md5error.sh
6267 exit
6368 fi
6469fi
0 commit comments