aboutsummaryrefslogtreecommitdiff
path: root/arc-theme-upgrade
diff options
context:
space:
mode:
authorLeandro Heck2015-10-07 20:17:03 -0300
committerLeandro Heck2015-10-07 20:17:03 -0300
commitb1adfe30da122d875ea1f22ca1fa0fdd0032ddf7 (patch)
tree6d506547fd3d46bac4bb5e73fe4b97c7a13fc464 /arc-theme-upgrade
parent15936ec9d35b68c5492072b68447b764bbc629d9 (diff)
downloadsolarc-theme-b1adfe30da122d875ea1f22ca1fa0fdd0032ddf7.tar.gz
solarc-theme-b1adfe30da122d875ea1f22ca1fa0fdd0032ddf7.tar.xz
solarc-theme-b1adfe30da122d875ea1f22ca1fa0fdd0032ddf7.zip
Adding new script to upgrade the theme
Diffstat (limited to 'arc-theme-upgrade')
-rwxr-xr-xarc-theme-upgrade19
1 files changed, 19 insertions, 0 deletions
diff --git a/arc-theme-upgrade b/arc-theme-upgrade
new file mode 100755
index 0000000..a394b5a
--- /dev/null
+++ b/arc-theme-upgrade
@@ -0,0 +1,19 @@
+#/!bin/bash
+
+# Script to upgrade/install the arc-theme
+
+# Remove previows files
+rm -rf /tmp/arc-theme
+
+git clone https://github.com/horst3180/arc-theme /tmp/arc-theme --depth 1 && cd /tmp/arc-theme
+
+# Remove old versions
+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
+sudo make install
+
+# Remove the sources
+rm -rf /tmp/arc-theme \ No newline at end of file