beeper: attempt to recognise Arch the 'proper' way

This commit is contained in:
Aminda Suomalainen 2024-08-14 07:51:10 +03:00
parent d9ff90be6c
commit 76a8b5de37
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x set -x
if [ "$(lsb_release -si)" == "Arch" ]; then if [ -f /etc/os-release ]; then
. /etc/os-release
if [ "$ID" == "arch" ]; then
echo "Remember! sudo pacman -S fuse2" echo "Remember! sudo pacman -S fuse2"
fi fi
fi
# This assumes the usage of GearLever with the default directory. # This assumes the usage of GearLever with the default directory.
if [ -f ~/AppImages/beeper.appimage ]; then if [ -f ~/AppImages/beeper.appimage ]; then