diff options
author | Martin Schenck | 2016-08-03 17:24:19 +0200 |
---|---|---|
committer | Martin Schenck | 2016-08-03 17:24:19 +0200 |
commit | cf773ee6b59459627c8988dd6128f7cc9a0dc23d (patch) | |
tree | 0df9fed77d3348c738abd6b610a80cf4fd293d1e | |
parent | aa5f66d0f9b40b7ad20b4958d4dfba49fbb6d9b0 (diff) | |
download | solarc-theme-cf773ee6b59459627c8988dd6128f7cc9a0dc23d.tar.gz solarc-theme-cf773ee6b59459627c8988dd6128f7cc9a0dc23d.tar.xz solarc-theme-cf773ee6b59459627c8988dd6128f7cc9a0dc23d.zip |
Moved arc upgrade to solarc upgrade
Fixes #6
Thanks to @tristan957
-rwxr-xr-x | solarc-theme-upgrade (renamed from arc-theme-upgrade) | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arc-theme-upgrade b/solarc-theme-upgrade index ef0ba50..1eae585 100755 --- a/arc-theme-upgrade +++ b/solarc-theme-upgrade @@ -1,12 +1,12 @@ #!/bin/sh -# Script to upgrade/install the arc-theme +# Script to upgrade/install the solarc-theme #URL -theme_name=arc-theme +theme_name=solarc-theme # Theme name -download_url=https://github.com/horst3180/$theme_name/archive/master.tar.gz +download_url=https://github.com/apheleia/$theme_name/archive/master.tar.gz # for test purporses only (the repo needs to have this script) # download_url=https://github.com/leoheck/$theme_name/archive/master.tar.gz @@ -15,21 +15,21 @@ download_url=https://github.com/horst3180/$theme_name/archive/master.tar.gz tempdir=/tmp/$theme_name # Directories -lightdir=/usr/share/themes/Arc -darkerdir=/usr/share/themes/Arc-Darker -darkdir=/usr/share/themes/Arc-Dark +lightdir=/usr/share/themes/SolArc +darkerdir=/usr/share/themes/SolArc-Darker +darkdir=/usr/share/themes/SolArc-Dark -userlightdir=$HOME/.themes/Arc -userdarkerdir=$HOME/.themes/Arc-Darker -userdarkdir=$HOME/.themes/Arc-Dark +userlightdir=$HOME/.themes/SolArc +userdarkerdir=$HOME/.themes/SolArc-Darker +userdarkdir=$HOME/.themes/SolArc-Dark -userlightdir2=$HOME/local/share/themes/Arc -userdarkerdir2=$HOME/local/share/themes/Arc-Darker -userdarkdir2=$HOME/local/share/themes/Arc-Dark +userlightdir2=$HOME/local/share/themes/SolArc +userdarkerdir2=$HOME/local/share/themes/SolArc-Darker +userdarkdir2=$HOME/local/share/themes/SolArc-Dark #Functions show_error() { -printf "\033[1;31m$@\033[0m\n" + printf "\033[1;31m$@\033[0m\n" } check_root() { @@ -99,7 +99,7 @@ install_theme() { case $response in [yY][eE][sS]|[yY]) echo "Installing $(basename $0) on /usr/bin/" - cp -r arc-theme-upgrade /usr/bin/ + cp -r solarc-theme-upgrade /usr/bin/ ;; *) echo "Aborted by user" @@ -122,7 +122,7 @@ install_theme() { # Main part clear echo '####################################' -echo '# Arc Theme Install Script #' +echo '# SolArc Theme Install Script #' echo '####################################' echo |