aboutsummaryrefslogtreecommitdiff
path: root/arc-theme-upgrade
diff options
context:
space:
mode:
authorLeandro Heck2015-11-03 20:18:05 -0200
committerLeandro Heck2015-11-03 20:18:05 -0200
commit6734cc04390c971554fe93c5e0a2b952c2ca9a88 (patch)
tree7d5d2172b08674a2bbb294f4774be088dd9e1da6 /arc-theme-upgrade
parent1e38d4a1ed043f4ba68e290f515d305079bc3d21 (diff)
downloadsolarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.tar.gz
solarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.tar.xz
solarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.zip
Fixing some things
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