summarylogtreecommitdiffstats
path: root/homebridge.install
diff options
context:
space:
mode:
authorGoliathLabs2020-06-09 13:18:31 +0200
committerGoliathLabs2020-06-09 13:18:31 +0200
commit4198e37a18edc76e267cadd9ba9159df4ee05001 (patch)
treec97f6ce3fb1facd53d908f52c9f206099e81350f /homebridge.install
parentede2f74eda4214db394d296dc9838ac8d547a539 (diff)
downloadaur-4198e37a18edc76e267cadd9ba9159df4ee05001.tar.gz
Updated: PKGBUILD + service + sysusers
Diffstat (limited to 'homebridge.install')
-rw-r--r--homebridge.install9
1 files changed, 0 insertions, 9 deletions
diff --git a/homebridge.install b/homebridge.install
index 77f8cac04588..ead9914727b6 100644
--- a/homebridge.install
+++ b/homebridge.install
@@ -1,10 +1,6 @@
_NAME=homebridge
post_install() {
- mkdir -p /var/lib/${_NAME}
- getent passwd ${_NAME} > /dev/null || useradd -d /var/lib/${_NAME} -s /bin/false -r ${_NAME} > /dev/null
- chown -R ${_NAME}:${_NAME} /var/lib/${_NAME}
-
echo ""
echo "A sample configuration file is provided at /usr/lib/node_modules/homebridge/config-sample.json"
echo "Copy this to /var/lib/${_NAME}/config.json and edit accordingly"
@@ -22,8 +18,3 @@ post_install() {
post_upgrade() {
post_install
}
-
-post_remove() {
- echo "Some files have not been removed because they are created by ${_NAME} itself."
- userdel -f ${_NAME}
-}