aboutsummaryrefslogtreecommitdiff
path: root/arc-theme-upgrade
diff options
context:
space:
mode:
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