1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Fix duplicate

This commit is contained in:
ewilly 2017-07-03 22:01:28 +02:00
parent 3fa1704754
commit 9925d9c48a

View file

@ -54,7 +54,6 @@ ynh_setup_source "$TMPDIR"
# clean & copy files needed to final folder # clean & copy files needed to final folder
sudo find "$TMPDIR" -type f -name ".htaccess" | xargs sudo rm sudo find "$TMPDIR" -type f -name ".htaccess" | xargs sudo rm
sudo find "$TMPDIR" -type f -name ".htaccess" | xargs sudo rm
if [ -e "$TMPDIR/.gitignore" ]; then if [ -e "$TMPDIR/.gitignore" ]; then
for f in $(sudo cat "$TMPDIR/.gitignore") ; do for f in $(sudo cat "$TMPDIR/.gitignore") ; do
[ -e "$TMPDIR$f" ] && sudo rm -R "$TMPDIR$f" [ -e "$TMPDIR$f" ] && sudo rm -R "$TMPDIR$f"