2015-11-03 22:18:05 +00:00
|
|
|
#!/bin/bash
|
2015-10-07 23:17:03 +00:00
|
|
|
|
|
|
|
# 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}
|
|
|
|
|
2015-11-03 22:18:05 +00:00
|
|
|
GNOME_VERSION=$(apt-cache show gnome-shell | grep Version | cut -d ' ' -f2 | cut -c1-4)
|
|
|
|
./autogen.sh --prefix=/usr --with-gnome=${GNOME_VERSION}
|
2015-10-07 23:17:03 +00:00
|
|
|
sudo make install
|
|
|
|
|
|
|
|
# Remove the sources
|
|
|
|
rm -rf /tmp/arc-theme
|