Explorar el Código

Remove .gitkeep files after copying

Nicolas Meienberger hace 3 años
padre
commit
2a1412b77d

+ 1 - 1
apps/filebrowser/config.json

@@ -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 - 0
apps/invidious/data/postgres/.gitkeep


+ 1 - 1
apps/joplin/config.json

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

+ 3 - 0
scripts/app.sh

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