Skip to content

Commit

Permalink
Verify another folder to have compatibility with bigcommunity
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Sep 29, 2024
1 parent d60f814 commit 7793af2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions usr/bin/biglinux-verify-md5sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,20 @@ LANGUAGE=$LANG:en
export TEXTDOMAINDIR="/usr/share/locale"
export TEXTDOMAIN=calamares-biglinux

cd /run/miso/bootmnt/manjaro/x86_64/
#cd /home/biglinux/x86_64/
###### Detecting folder with files
# Try with manjaro folder
if [[ -e /run/miso/bootmnt/manjaro/x86_64/ ]]; then
cd /run/miso/bootmnt/manjaro/x86_64/

# Try with folder same as HOSTNAME
elif [[ -e /run/miso/bootmnt/$HOSTNAME/x86_64/ ]]; then
cd /run/miso/bootmnt/$HOSTNAME/x86_64/

# Try folder removing efi and boot folder
elif [[ -e $(ls -d1 /run/miso/bootmnt/*/ | grep -ve '/efi/' -ve '/boot/') ]]; then
cd $(ls -d1 /run/miso/bootmnt/*/ | grep -ve '/efi/' -ve '/boot/')
fi
######

rm -f /tmp/md5sum_big_fail

Expand Down

0 comments on commit 7793af2

Please sign in to comment.