diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-14 11:45:55 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-14 11:45:55 +0200 |
commit | cc0a0d8fb34ce67f16cacfeabba8f594be06a271 (patch) | |
tree | f600b9c69f5ab28fe8d47bb07ad7f91547c202f7 /contrib | |
parent | 2eff5f89729fd819e789ea933417e3f3af60ca63 (diff) | |
download | skin-flatplus-cc0a0d8fb34ce67f16cacfeabba8f594be06a271.tar.gz skin-flatplus-cc0a0d8fb34ce67f16cacfeabba8f594be06a271.tar.bz2 |
update Makefile, add --remove-destination to install icons, to override symlinks
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/flatPlus_MV_Update.sh | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/contrib/flatPlus_MV_Update.sh b/contrib/flatPlus_MV_Update.sh index 6cadee6f..44f8f035 100755 --- a/contrib/flatPlus_MV_Update.sh +++ b/contrib/flatPlus_MV_Update.sh @@ -29,6 +29,7 @@ if [ -n "$1" ] ; then # Parameter wurde übergeben if [ "$1" = "-u" -o "$1" = "-U" ] ; then SILENTUPDATE=1 ; echo "Silent Update! ($1)" else + echo "-------------------------------" echo "Falscher Parameter: $1" echo "Aufruf mit $(basename $0)" echo "Parameter -u Keine Abfragen (Silent Update)." @@ -39,7 +40,7 @@ fi # MV_Themes Löschen! if [ -z "$SILENTUPDATE" ] ; then echo "-------------------------------" - echo "MV_Themes löschen? (J/n)" + echo "MV_Themen löschen? (J/n)" timedout_read 5 TASTE if [ "$TASTE" = "n" -o "$TASTE" = "N" ] ; then echo "Skript abgebrochen. Es wurde nichts gelöscht!" @@ -70,6 +71,21 @@ rm -rf MV_Themes.tar.xz # Archiv entfernen echo "-------------------------------" echo "MV-Themen wurden aktualisiert." -echo "Zum aktivieren 'make install' eingeben." + +if [ -z "$SILENTUPDATE" ] ; then + echo "-------------------------------" + echo "MV_Themen installieren (make install)? (j/N)" + timedout_read 5 TASTE + if [ "$TASTE" = "j" -o "$TASTE" = "J" ] ; then + cd .. + make install + echo "-------------------------------" + echo "MV-Themen wurden installiert." + fi +else # Silentupdate - Themen instalieren + make install +fi + +echo "-------------------------------" exit |