diff options
-rw-r--r-- | pamac.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pamac.install b/pamac.install index 5039ad8b7d03..e1e664a516ca 100644 --- a/pamac.install +++ b/pamac.install @@ -6,6 +6,7 @@ post_install() { # enable classic snap support if [ -f /usr/bin/snap ]; then ln -s /var/lib/snapd/snap /snap + systemctl is-active snapd.socket >/dev/null || systemctl enable snapd.socket fi # enable systemd timers ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/multi-user.target.wants @@ -26,8 +27,7 @@ post_upgrade() { # enable classic snap support if [ -f /usr/bin/snap ]; then ln -s /var/lib/snapd/snap /snap - msg "Attempting to enable snapd.socket service..." - systemctl is-active snapd.socket >/dev/null || systemctl enable snapd.socket + systemctl is-active snapd.socket >/dev/null || systemctl enable snapd.socket fi } |