up script update book
This commit is contained in:
parent
c6c85f4737
commit
8a4b91e935
|
@ -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"
|
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
|
else
|
||||||
# on supprime les scripts existants
|
# on supprime les scripts existants
|
||||||
rm "$dossier/*.py"
|
rm $dossier/*.py
|
||||||
rm "$dossier/*.sh"
|
rm $dossier/*.sh
|
||||||
rm "$dossier/*.css"
|
rm $dossier/*.css
|
||||||
|
|
||||||
# on met les nouvelles versions
|
# on met les nouvelles versions
|
||||||
cp Makefile "$dossier/"
|
|
||||||
cp *.py "$dossier/"
|
cp *.py "$dossier/"
|
||||||
cp *.sh "$dossier/"
|
cp *.sh "$dossier/"
|
||||||
cp *.css "$dossier/"
|
cp *.css "$dossier/"
|
||||||
|
|
Loading…
Reference in New Issue