diff options
author | Librewish | 2020-09-04 17:12:16 +0530 |
---|---|---|
committer | Librewish | 2020-09-04 17:12:16 +0530 |
commit | 0a2c4a4a5b5b03d4b1d750c2ed168c83299e1e1a (patch) | |
tree | e1a2447f1a627b255dd7634e3dce12878ab80d91 | |
parent | c7551419e8980b1ea6434a981c232a5ca703b124 (diff) | |
download | aur-0a2c4a4a5b5b03d4b1d750c2ed168c83299e1e1a.tar.gz |
enable classic snap support
-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 } |