arch-packages/firefox-syncstorage/firefox-syncstorage.install
Manuel 4ea6300b8a Add 'firefox-syncstorage/' from commit '738c7f7c726b198097ec03bb940bd87f45894afe'
git-subtree-dir: firefox-syncstorage
git-subtree-mainline: fe8d766c45
git-subtree-split: 738c7f7c72
2022-10-18 00:00:01 +02:00

11 lines
No EOL
393 B
Text

post_install() {
getent group syncstorage &>/dev/null || groupadd -r syncstorage >/dev/null
getent passwd syncstorage &>/dev/null || useradd -r -s /usr/bin/false \
-g syncstorage -G syncstorage syncstorage >/dev/null
}
pre_remove() {
getent passwd syncstorage &>/dev/null && userdel syncstorage >/dev/null
getent group syncstorage &>/dev/null && groupdel syncstorage >/dev/null
true
}