From e1e689caaf3109a740581fffde952d51f730608b Mon Sep 17 00:00:00 2001 From: germedeb Date: Thu, 6 Oct 2022 15:26:03 -0300 Subject: [PATCH] updated build.sh --- tasks/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/build.sh b/tasks/build.sh index de46332..4dd950e 100755 --- a/tasks/build.sh +++ b/tasks/build.sh @@ -157,12 +157,13 @@ case "$@" in *--autoinstall*|*-i*) fi # this makes a copy before removing the installation. this reduces significantly the time without an installation. - cp -r ./_build/aleta _build/tmpaleta + cp -r ./_build/aleta ~/.local/share/icons/.tmpaleta # this two IFs checks if there is an old installation of aleta and then removes them if [ -d ~/.icons/aleta ] ; then rm -rf ~/.icons/aleta PREVIOUSLYINSTALLED=yes + printf "${info_color}Note: this update moves aleta to ~/.local/share/icons/.${reset_colors}\\n" fi if [ -d ~/.local/share/icons/aleta ] ; then rm -rf ~/.local/share/icons/aleta @@ -177,7 +178,7 @@ case "$@" in *--autoinstall*|*-i*) fi # moves the copy to the actual destination. - mv _build/tmpaleta ~/.local/share/icons/aleta + mv ~/.local/share/icons/.tmpaleta ~/.local/share/icons/aleta # updates the icon cache printf "${info_color}Updating gtk icon cache...${reset_colors}\\n"