install: add /etc/tmpfiles.d for classic snaps (or still nonfunctional attempt)

This commit is contained in:
Aminda Suomalainen 2026-01-22 08:35:33 +02:00
parent 2da9d1b6dd
commit f43e244d42
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -199,6 +199,10 @@ if [ "$(id -u)" == "0" ]; then
cp -v local/share/applications/vivaldi.desktop /usr/local/share/applications/ cp -v local/share/applications/vivaldi.desktop /usr/local/share/applications/
fi fi
# Attempt at classic snaps (symlink /snap to /var/lib/snapd/snap)
mkdir -vp /etc/tmpfiles.d/
cp -v etc/tmpfiles.d/snapd-classic.conf /etc/tmpfiles.d/
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS! # Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
if [ -d /etc/sudoers.d ]; then if [ -d /etc/sudoers.d ]; then
cp -v etc/sudoers.d/{aminda-systemd,lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/ cp -v etc/sudoers.d/{aminda-systemd,lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/