|
post_install() {
|
|
getent passwd searx >/dev/null || useradd -rb /usr/lib/python2.7/site-packages -s /usr/bin/nologin searx
|
|
echo "Settings are at /etc/searx/settings.yml"
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
echo "You may want to remove searx user"
|
|
}
|