Add 'firefox-syncstorage/' from commit '738c7f7c72
'
git-subtree-dir: firefox-syncstorage git-subtree-mainline:fe8d766c45
git-subtree-split:738c7f7c72
This commit is contained in:
commit
4ea6300b8a
4 changed files with 99 additions and 0 deletions
11
firefox-syncstorage/firefox-syncstorage.install
Normal file
11
firefox-syncstorage/firefox-syncstorage.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue