blob: 6e1d4c9b14d6ac163024cf0e70107e301166ed62 (
plain)
- #!/bin/sh
- set -e
- # Based on script by Micah Anderson <micah@riseup.net>
- # Change this to match your correct profile
- PROFILE="8xrm3et5.default"
- cd "${HOME}/.mozilla/firefox"
- if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )"; then
- mount "${HOME}/.mozilla/firefox/${PROFILE}"
- fi
- if test -f "${PROFILE}/.unpacked"; then
- rsync -av --delete --exclude .unpacked ./"$PROFILE"/ ./profile/
- else
- rsync -av ./profile/ ./"$PROFILE"/
- touch "${PROFILE}/.unpacked"
- fi
|