diff options
author | GoliathLabs | 2020-06-09 13:18:31 +0200 |
---|---|---|
committer | GoliathLabs | 2020-06-09 13:18:31 +0200 |
commit | 4198e37a18edc76e267cadd9ba9159df4ee05001 (patch) | |
tree | c97f6ce3fb1facd53d908f52c9f206099e81350f /homebridge.install | |
parent | ede2f74eda4214db394d296dc9838ac8d547a539 (diff) | |
download | aur-4198e37a18edc76e267cadd9ba9159df4ee05001.tar.gz |
Updated: PKGBUILD + service + sysusers
Diffstat (limited to 'homebridge.install')
-rw-r--r-- | homebridge.install | 9 |
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} -} |