mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
20 lines
582 B
Bash
Executable File
20 lines
582 B
Bash
Executable File
#!/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}
|
|
|
|
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
|
|
rm -rf /tmp/arc-theme |