updated build script: solved a bug

the autoinstall was trying to copy the content to a non existent folder

now it copies the folder itself, so don't matter if the folder exist or not
This commit is contained in:
germedeb 2022-09-02 21:20:05 -03:00
parent 0fae205734
commit 174d23014e
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ else
fi
case "$@" in *--autoinstall*|*-i*)
printf "${info_color}Performing an Update/Installation of aleta${reset_colors}\\n"
cp -r ./_build/aleta/* ~/.icons/tmpaleta/
cp -r ./_build/aleta ~/.icons/tmpaleta
rm -rf ~/.icons/aleta
mv ~/.icons/tmpaleta ~/.icons/aleta
printf "${info_color}Updating gtk icon cache...${reset_colors}\\n"