updated ags.sh to skip if v1.9.0 is already installed
This commit is contained in:
@@ -3,6 +3,15 @@
|
|||||||
# Aylur's GTK Shell v 1.9.0 #
|
# Aylur's GTK Shell v 1.9.0 #
|
||||||
# for desktop overview
|
# 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
|
if [[ $USE_PRESET = [Yy] ]]; then
|
||||||
source ./preset.sh
|
source ./preset.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user