Skip to content

Commit

Permalink
Merge pull request #552 from HoxhaEndri/master
Browse files Browse the repository at this point in the history
Updated installer.sh for "ubuntu debian" /etc/os-release and new version string
  • Loading branch information
m-1-k-3 authored Apr 3, 2023
2 parents b148a71 + 415c7a4 commit 6ba8205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/bin_version_strings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ mkdosfs;;gplv3;"^mkdosfs\ [0-9](\.[0-9]+)+?\ \([0-9]+\ .*\ [0-9]+\)$";"sed -r 's
fsck.fat;;gplv3;"^fsck\.fat\ [0-9]+(\.[0-9]+)+?";"sed -r 's/fsck\.fat\ ([0-9]+(\.[0-9]+)+?).*/dosfstools:\1/'";
fatlabel;;gplv3;"^fatlabel\ [0-9]+(\.[0-9]+)+?";"sed -r 's/fatlabel\ ([0-9]+(\.[0-9]+)+?).*/dosfstools:\1/'";
mklost_plus_found;;unknown;"^mklost\+found\ [0-9]+(\.[0-9]+)+?\ \(.*\)$";"sed -r 's/mklost\+found\ ([0-9]+(\.[0-9]+)+?).*/e2fsprogs:\1/'";
mkntfs;;gplv2;"mkntfs\ [0-9]+(\.[0-9]+)+?";"sed -r 's/mkntfs\ ([0-9]+(\.[0-9]+)+?).*/ntfsprogs:\1/'";
mkntfs;;gplv2;"mkntfs\ (v)?[0-9]+(\.[0-9]+)+?";"sed -r 's/mkntfs\ v?([0-9]+(\.[0-9]+)+?).*/ntfsprogs:\1/'";
mkpasswd;;unknown;"mkpasswd\ [0-9](\.[0-9]+)+?";"sed -r 's/mkpasswd\ ([0-9](\.[0-9]+)+?).*/mkpasswd:\1/'";
mkreiserfs;;unknown;"mkreiserfs\ [0-9](\.[0-9]+)+?$";"sed -r 's/mkreiserfs\ ([0-9](\.[0-9]+)+?)$/reiserfsck:\1/'";
modem;strict;unknown;"Version\ [0-9]\.[0-9]+\.[0-9]+";"sed -r 's/Version\ ([0-9](\.[0-9]+)+?)$/modem:\1/'";
Expand Down
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if grep -q -i wsl /proc/version; then
fi

# distribution check
if ! grep -q "ID_LIKE=debian" /etc/os-release 2>/dev/null ; then
if ! grep -Eq "ID_LIKE=(\")?(ubuntu)?( )?(debian)?" /etc/os-release 2>/dev/null ; then
echo -e "\\n""$RED""EMBA only supports debian based distributions!""$NC\\n"
print_help
exit 1
Expand Down

0 comments on commit 6ba8205

Please sign in to comment.