This commit is contained in:
simono41 2018-04-08 20:55:26 +02:00
parent 7f0fb7150b
commit 6467c4fc1c

View file

@ -368,28 +368,28 @@ if [ "${version}" != "libre" ]; then
aurinstall plymouth-theme-dark-arch aurinstall plymouth-theme-dark-arch
plymouth-set-default-theme -R dark-arch plymouth-set-default-theme -R dark-arch
aurinstall snapd aurinstall snapd
if [ "${archchroot}" != "archchroot" ]; then #if [ "${archchroot}" != "archchroot" ]; then
systemctl enable --now snapd.socket #systemctl enable --now snapd.socket
if ! [ -d "/snap" ];then #if ! [ -d "/snap" ];then
ln -s /var/lib/snapd/snap /snap # ln -s /var/lib/snapd/snap /snap
fi #fi
snap install spotify #snap install spotify
if ! [ -f "/usr/bin/spotify" ];then #if ! [ -f "/usr/bin/spotify" ];then
ln -s /var/lib/snapd/snap/bin/spotify /usr/bin/spotify # ln -s /var/lib/snapd/snap/bin/spotify /usr/bin/spotify
fi #fi
if ! [ -f "/usr/share/applications/spotify_spotify.desktop" ];then #if ! [ -f "/usr/share/applications/spotify_spotify.desktop" ];then
ln -s /var/lib/snapd/desktop/applications/spotify_spotify.desktop /usr/share/applications/spotify_spotify.desktop # ln -s /var/lib/snapd/desktop/applications/spotify_spotify.desktop /usr/share/applications/spotify_spotify.desktop
fi #fi
snap install skype #snap install skype
if ! [ -f "/usr/bin/skype" ];then #if ! [ -f "/usr/bin/skype" ];then
ln -s /var/lib/snapd/snap/bin/skype /usr/bin/skype # ln -s /var/lib/snapd/snap/bin/skype /usr/bin/skype
fi #fi
if ! [ -f "/usr/share/applications/skype_skypeforlinux.desktop" ];then #if ! [ -f "/usr/share/applications/skype_skypeforlinux.desktop" ];then
ln -s /var/lib/snapd/desktop/applications/skype_skypeforlinux.desktop /usr/share/applications/skype_skypeforlinux.desktop # ln -s /var/lib/snapd/desktop/applications/skype_skypeforlinux.desktop /usr/share/applications/skype_skypeforlinux.desktop
fi #fi
else #else
systemctl enable snapd.socket systemctl enable snapd.socket
fi #fi
fi fi