Created
July 24, 2017 11:08
-
-
Save bobby1030/1a51a4effaddf9d7eff9d1f152c71189 to your computer and use it in GitHub Desktop.
Adapta GTK Theme building script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WORKING_USER=$(who am i | awk '{print $1}') | |
if [ `id -u` = 0 ] ; then | |
sudo -u $WORKING_USER ./autogen.sh --enable-parallel --disable-cinnamon --disable-flashback --disable-unity --disable-xfce --disable-mate --disable-openbox | |
sudo -u $WORKING_USER make | |
rm -rf /usr/share/themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
rm -rf ~/.local/share/themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
rm -rf ~/.themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
make install | |
else | |
echo "You need to run this script as superuser." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment