mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-12 12:26:04 +00:00
d/postinst: Remove unnecessary file
- The last bit code left in the file was a fix applied in 2018 and not used since we stopped using access.conf file. Tests: - Building Debian package works. - The Debian package still contains a postinst script with code for starting systemd daemon and for running other debhelper hooks. - Installing the Debian package on a fresh Debian trixie machine starts the FreedomBox service. First wizard finished without issues and bepasty app install succeeds. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
841b0382e7
commit
c1aeb1f661
13
debian/freedombox.postinst
vendored
13
debian/freedombox.postinst
vendored
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Due to a change in sudo, now it runs PAM modules even on password-less
|
||||
# invocations. This leads to plinth not being able to run root privileges. This
|
||||
# is because of our own restrictions in /etc/security/access.conf. Since Plinth
|
||||
# is locked out after upgrade, we need to do this in postinst.
|
||||
sed -i 's+-:ALL EXCEPT root fbx (admin) (sudo):ALL+-:ALL EXCEPT root fbx plinth (admin) (sudo):ALL+' /etc/security/access.conf
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Loading…
x
Reference in New Issue
Block a user