mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
beeper: attempt to recognise Arch the 'proper' way
This commit is contained in:
parent
d9ff90be6c
commit
76a8b5de37
@ -1,8 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ "$(lsb_release -si)" == "Arch" ]; then
|
if [ -f /etc/os-release ]; then
|
||||||
echo "Remember! sudo pacman -S fuse2"
|
. /etc/os-release
|
||||||
|
if [ "$ID" == "arch" ]; then
|
||||||
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user