forked from obel1x/fedora-OEMDRV
Nextcloud client: Support multi sync folders and move to userspace
This commit is contained in:
@@ -38,9 +38,23 @@ if [ "$EUID" -ne 0 ]; then
|
||||
#Important Files
|
||||
export DAVTOKENFILENAME="${DECRYPTEDDATADIR}/WEBDAVTOKEN"
|
||||
|
||||
#Path for Documents
|
||||
export CLIENT_DATA_DST="${DECRYPTEDDATADIR}/Dokumente" #Optional
|
||||
export CLIENT_DATA_SRC="/Documents"
|
||||
#Optional: Sync Folders with nextcloud client
|
||||
CLIENT_DATA_SYNC=() # Do not remove
|
||||
|
||||
# If you dont want to use Folder synchronisation: comment out each line starting with CLIENT_DATA_SYNC_LINE= or CLIENT_DATA_SYNC+=
|
||||
#First Sync Folder
|
||||
CLIENT_DATA_SYNC_LINE=("${DECRYPTEDDATADIR}/Dokumente" "/Documents")
|
||||
CLIENT_DATA_SYNC+=("$(declare -p CLIENT_DATA_SYNC_LINE)") # Repeat for each CLIENT_DATA_SYNC_LINE
|
||||
|
||||
#Next Sync Folder
|
||||
CLIENT_DATA_SYNC_LINE=("${DECRYPTEDDATADIR}/Bilder" "/Photos")
|
||||
CLIENT_DATA_SYNC+=("$(declare -p CLIENT_DATA_SYNC_LINE)") # Repeat for each CLIENT_DATA_SYNC_LINE
|
||||
|
||||
#Next Sync Folder
|
||||
#...
|
||||
|
||||
export CLIENT_DATA_SYNC_DECLARE="$(declare -p CLIENT_DATA_SYNC)" # Do not remove
|
||||
#End of Sync Folder for nextcloud client
|
||||
|
||||
#Firefox Profiles of the User
|
||||
export PROFILE_FIREFOX_SRC="mozilla_profiles/firefox"
|
||||
|
||||
Reference in New Issue
Block a user