From 6734cc04390c971554fe93c5e0a2b952c2ca9a88 Mon Sep 17 00:00:00 2001 From: Leandro Heck Date: Tue, 3 Nov 2015 20:18:05 -0200 Subject: [PATCH] Fixing some things --- arc-theme-upgrade | 6 +++--- common/Makefile.am | 2 +- 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: