updated ags.sh to skip if v1.9.0 is already installed

This commit is contained in:
JaKooLit
2025-02-03 02:29:53 +09:00
parent 695081332b
commit 083c20878e

View File

@@ -3,6 +3,15 @@
# Aylur's GTK Shell v 1.9.0 #
# for desktop overview
# Check if AGS is installed
if command -v ags &>/dev/null; then
AGS_VERSION=$(ags -v | awk '{print $NF}')
if [[ "$AGS_VERSION" == "1.9.0" ]]; then
echo -e "${OK} ${MAGENTA}Aylur's GTK Shell v1.9.0${RESET} is already installed. Skipping installation."
exit 0
fi
fi
if [[ $USE_PRESET = [Yy] ]]; then
source ./preset.sh
fi