Remove .gitkeep files after copying
This commit is contained in:
parent
9eb83e2f7b
commit
2a1412b77d
4 changed files with 5 additions and 2 deletions
|
@ -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/",
|
||||
|
|
0
apps/invidious/data/postgres/.gitkeep
Normal file
0
apps/invidious/data/postgres/.gitkeep
Normal 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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue