aboutsummaryrefslogtreecommitdiff
path: root/arc-theme-upgrade
blob: a394b5af259cb213d29ac59061cfc0fe635ea568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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