From 573bbdb0a31956edbb133a8d31a6b42a13510a8e Mon Sep 17 00:00:00 2001 From: parmigggiana <59255877+parmigggiana@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:10:15 +0200 Subject: [PATCH] create missing dirs --- weeedebian/martello.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weeedebian/martello.sh b/weeedebian/martello.sh index e175a1b..263bca3 100755 --- a/weeedebian/martello.sh +++ b/weeedebian/martello.sh @@ -296,12 +296,14 @@ echo "=== Desktop shortcuts ===" # sed -ri -e "s#Icon=(.*/)*([a-zA-Z0-9\-\.]+)#Icon=/home/$MISO_USERNAME/limone/\2#" "/home/$MISO_USERNAME/Desktop/$desktop_file" #done +sudo -u $MISO_USERNAME mkdir -p /home/$MISO_USERNAME/.config/WEEE\ Open/tarallo sudo -u $MISO_USERNAME cp ./Tarallo.desktop /home/$MISO_USERNAME/Desktop sudo -u $MISO_USERNAME cp ./tarallo.png /home/$MISO_USERNAME/.config/WEEE\ Open/tarallo/tarallo.png sudo -u $MISO_USERNAME chmod +x /home/$MISO_USERNAME/Desktop/Tarallo.desktop +sudo -u $MISO_USERNAME mkdir -p /home/$MISO_USERNAME/.config/WEEE\ Open/wiki sudo -u $MISO_USERNAME cp ./Wiki.desktop /home/$MISO_USERNAME/Desktop -sudo -u $MISO_USERNAME cp ./wiki.png /home/$MISO_USERNAME/.config/WEEE\ Open/wiki/wiki.png +sudo -u $MISO_USERNAME cp ./limone.png /home/$MISO_USERNAME/.config/WEEE\ Open/wiki/wiki.png sudo -u $MISO_USERNAME chmod +x /home/$MISO_USERNAME/Desktop/Wiki.desktop