Remove .gitkeep files after copying

This commit is contained in:
Nicolas Meienberger 2022-05-17 20:18:56 +02:00
parent 9eb83e2f7b
commit 2a1412b77d
4 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
"available": true,
"port": 8096,
"id": "filebrowser",
"description": "Reliable and Performant File Management Desktop Sync and File Sharing",
"description": "Reliable and Performant File Management Desktop Sync and File Sharing\n Default credentials: admin / admin",
"short_desc": "Access your homeserver files from your browser",
"author": "",
"website": "https://filebrowser.org/",

View file

View file

@ -3,7 +3,7 @@
"available": true,
"port": 8099,
"id": "joplin",
"description": "",
"description": "Default credentials: admin@localhost / admin",
"short_desc": "Note taking and to-do application with synchronisation",
"author": "https://github.com/laurent22",
"source": "https://github.com/laurent22/joplin",

View file

@ -129,6 +129,9 @@ if [[ "$command" = "install" ]]; then
cp -r "${ROOT_FOLDER}/apps/${app}/data" "${app_data_dir}/data"
fi
# Remove all .gitkeep files from app data dir
find "${app_data_dir}" -name ".gitkeep" -exec rm -f {} \;
chown -R "1000:1000" "${app_data_dir}"
compose "${app}" up -d