فهرست منبع

Remove .gitkeep files after copying

Nicolas Meienberger 3 سال پیش
والد
کامیت
2a1412b77d
4فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 1 1
      apps/filebrowser/config.json
  2. 0 0
      apps/invidious/data/postgres/.gitkeep
  3. 1 1
      apps/joplin/config.json
  4. 3 0
      scripts/app.sh

+ 1 - 1
apps/filebrowser/config.json

@@ -3,7 +3,7 @@
   "available": true,
   "available": true,
   "port": 8096,
   "port": 8096,
   "id": "filebrowser",
   "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",
   "short_desc": "Access your homeserver files from your browser",
   "author": "",
   "author": "",
   "website": "https://filebrowser.org/",
   "website": "https://filebrowser.org/",

+ 0 - 0
apps/invidious/data/postgres/.gitkeep


+ 1 - 1
apps/joplin/config.json

@@ -3,7 +3,7 @@
   "available": true,
   "available": true,
   "port": 8099,
   "port": 8099,
   "id": "joplin",
   "id": "joplin",
-  "description": "",
+  "description": "Default credentials: admin@localhost / admin",
   "short_desc": "Note taking and to-do application with synchronisation",
   "short_desc": "Note taking and to-do application with synchronisation",
   "author": "https://github.com/laurent22",
   "author": "https://github.com/laurent22",
   "source": "https://github.com/laurent22/joplin",
   "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"
     cp -r "${ROOT_FOLDER}/apps/${app}/data" "${app_data_dir}/data"
   fi
   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}"
   chown -R "1000:1000" "${app_data_dir}"
 
 
   compose "${app}" up -d
   compose "${app}" up -d