]> the.earth.li Git - mqttdeck.git/commitdiff
lintian: Fix maintainer-script-lacks-home-in-adduser error
authorJonathan McDowell <noodles@earth.li>
Sun, 27 Apr 2025 09:29:55 +0000 (10:29 +0100)
committerJonathan McDowell <noodles@earth.li>
Sun, 27 Apr 2025 09:29:55 +0000 (10:29 +0100)
debian/postinst

index 3a6ccb7ededb79706f7a50acdd8037da3b310220..32cdc589bf11b044816bcbb669409eb525e1c96b 100644 (file)
@@ -5,7 +5,7 @@ set -e
 if [ "$1" = "configure" ]; then
        if ! getent passwd | grep -q "^mqttdeck:"; then
                echo "Adding system user mqttdeck..."
-               adduser --system --disabled-login mqttdeck
+               adduser --system --disabled-login --no-create-home --home /nonexistent mqttdeck
        fi
 
        # Ensure the config file is owned by us