From 8a4b91e935aad867fde9b8a3bb9ce8a3e533e5c3 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sat, 19 Oct 2024 23:48:48 +0200 Subject: [PATCH] up script update book --- update_book.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update_book.sh b/update_book.sh index dbc21b9..3df1055 100755 --- a/update_book.sh +++ b/update_book.sh @@ -12,12 +12,11 @@ if ! [ -d $dossier ]; then echo "le dossier $dossier n'existe pas, oh noes! ajoutez le en argument à ce script: \n bash update_ebook.sh /$USER/Nextcloud/textes/livre_bidule" else # on supprime les scripts existants - rm "$dossier/*.py" - rm "$dossier/*.sh" - rm "$dossier/*.css" + rm $dossier/*.py + rm $dossier/*.sh + rm $dossier/*.css # on met les nouvelles versions - cp Makefile "$dossier/" cp *.py "$dossier/" cp *.sh "$dossier/" cp *.css "$dossier/"