aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Heck2015-11-03 20:18:05 -0200
committerLeandro Heck2015-11-03 20:18:05 -0200
commit6734cc04390c971554fe93c5e0a2b952c2ca9a88 (patch)
tree7d5d2172b08674a2bbb294f4774be088dd9e1da6
parent1e38d4a1ed043f4ba68e290f515d305079bc3d21 (diff)
downloadsolarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.tar.gz
solarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.tar.xz
solarc-theme-6734cc04390c971554fe93c5e0a2b952c2ca9a88.zip
Fixing some things
-rwxr-xr-xarc-theme-upgrade6
-rw-r--r--common/Makefile.am2
2 files changed, 4 insertions, 4 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
diff --git a/common/Makefile.am b/common/Makefile.am
index 144e43e..ae975c6 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -8,7 +8,7 @@ ithemedarkdir = $(DESTDIR)$(themedarkdir)
install-exec-hook:
@ echo "Coping/upgrading arc-theme-upgrade script to /usr/bin/"
- @ cp -f ../arc-theme-upgrade /usr/bin/
+ @ cp -f $(srcdir)/arc-theme-upgrade /usr/bin/
install-data-local: