mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
12 lines
301 B
Bash
12 lines
301 B
Bash
if ! hash lsb_release 2> /dev/null; then
|
|
ERRORMESSAGE="lsb_release was not found, the wallpaper scripts cannot figure out the distribution"
|
|
echo $ERRORMESSAGE
|
|
#notify-send $ERRORMESSAGE
|
|
exit 0
|
|
fi
|
|
|
|
export DISTROID=$(lsb_release -si)
|
|
export DISTROREL=$(lsb_release -sr)
|
|
|
|
echo "$DISTROID $DISTROREL"
|