Who knows at this point

This commit is contained in:
Hibby 2025-03-11 00:28:11 +00:00
parent 0b4a17004f
commit 329e2f441d
No known key found for this signature in database
2 changed files with 12 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
linbpq (6.0.24.66+repack-1~hibbian+2) UNRELEASED; urgency=medium
* Update postinst script to be a little quieter
-- Dave Hibberd <hibby@debian.org> Tue, 11 Mar 2025 00:19:14 +0000
linbpq (6.0.24.66+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
* New upstream version 6.0.24.66+repack

8
debian/postinst vendored
View File

@ -21,8 +21,12 @@ if [ "$1" = configure ]; then
# unknown adduser error, simply exit
exit 1
}
adduser linbpq dialout
adduser linbpq plugdev
if ! id -nGz linbpq | grep -qzxF 'dialout' ; then
adduser linbpq dialout
fi
if ! id -nGz linbpq | grep -qzxF 'plugdev' ; then
adduser linbpq plugdev
fi
chown :linbpq /opt/oarc/bpq
chmod 775 /opt/oarc/bpq