aboutsummaryrefslogtreecommitdiff
path: root/arc-theme-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'arc-theme-upgrade')
-rwxr-xr-xarc-theme-upgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/arc-theme-upgrade b/arc-theme-upgrade
index c4c796a..c4f895e 100755
--- a/arc-theme-upgrade
+++ b/arc-theme-upgrade
@@ -1,4 +1,4 @@
-#/!bin/bash
+#!/bin/bash
# Script to upgrade/install the arc-theme
@@ -12,8 +12,8 @@ sudo rm -rf /usr/share/themes/{Arc,Arc-Darker,Arc-Dark}
rm -rf ~/.local/share/themes/{Arc,Arc-Darker,Arc-Dark}
rm -rf ~/.themes/{Arc,Arc-Darker,Arc-Dark}
-#./autogen.sh --prefix=/usr
-./autogen.sh --prefix=/usr --with-gnome=3.16
+GNOME_VERSION=$(apt-cache show gnome-shell | grep Version | cut -d ' ' -f2 | cut -c1-4)
+./autogen.sh --prefix=/usr --with-gnome=${GNOME_VERSION}
sudo make install
# Remove the sources