up script update book

This commit is contained in:
Tykayn 2024-10-19 23:48:48 +02:00 committed by tykayn
parent c6c85f4737
commit 8a4b91e935
1 changed files with 3 additions and 4 deletions

View File

@ -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/"