Mozilla_pre: Make Firefox profile customizable

This commit is contained in:
Daniel unbrot Pätzold
2026-05-07 16:17:56 +02:00
parent 063011d404
commit 49a998fc12
3 changed files with 13 additions and 6 deletions
@@ -68,12 +68,18 @@ if [ "$EUID" -ne 0 ]; then
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
#Firefox Profiles
export PROFILE_FIREFOX_RESET_LOCAL="true" # Set this to wipe ~/.mozilla each time if you don't want users to setup their own firefox profile
# Optional: own Firefox profile used for this company if given as default
# You may use any tar file, that contains a valid firefox profile set up to your companies need.
# As example look at 0020_nextcloud_mozilla_pre/firefox.tar.zst
# You should put it under e.g SYSCONFIGPATH and than use the filepath relative. e.g. "${SYSCONFIGPATH}/firefox.tar.zst"
export PROFILE_FIREFOX_TAR_FILE=""
#Mozilla profile paths on Nextcloud Server. Syncs your profiles to Nextcloud.
export PROFILE_FIREFOX_SRC="mozilla_profiles/firefox"
export PROFILE_FIREFOX_DST="${DECRYPTEDDATADIR}/firefox"
#Thunderbird Profiles
#Thunderbird Profiles to also be synced
export PROFILE_TB_SRC="mozilla_profiles/thunderbird"
export PROFILE_TB_DST="${DECRYPTEDDATADIR}/thunderbird"