Print logs while installing. Add editor support.

The useful edit command `sudo-nopasswd` now supports
custom editor use (BUGFIX).
This commit is contained in:
2026-04-11 21:02:15 +01:00
parent 75f7fa28dc
commit 39ae0a731a
3 changed files with 31 additions and 2 deletions

View File

@@ -18,3 +18,8 @@ INITD_DIR="/etc/init.d"
UPDATE_COMMAND="update-sudo-nopasswd"
WATCH_COMMAND="watch-sudo-nopasswd"
EDIT_COMMAND="sudo-nopasswd"
if [ ! "$SHARE_DIR" ]; then
SHARE_DIR="/usr/share/sudo-nopasswd"
fi