summarylogtreecommitdiffstats
path: root/homebridge.install
diff options
context:
space:
mode:
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}
-}