2022-12-17 15:13:37 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-11-16 12:30:45 -01:00
|
|
|
################################################################################
|
|
|
|
# Title: 0600-snap-show-menu-fix.hook.chroot
|
|
|
|
# Description: Workaround for using snapd on debian. Thank You - @stevesveryown and peppermint team..
|
|
|
|
# Author: manuel rosa <manuelsilvarosa@gmail.com>
|
|
|
|
# Date: Outubro 29, 2023
|
|
|
|
# License: GPL-3.0-or-later
|
|
|
|
################################################################################
|
|
|
|
|
2022-12-17 15:13:37 -01:00
|
|
|
# Workaround for using snapd on debian. Thank You - @stevesveryown and peppermint team..
|
|
|
|
[ ! -e /etc/skel/.local/share ] && mkdir -p /etc/skel/.local/share
|
|
|
|
[ ! -e /var/lib/snapd/desktop/applications ] &&
|
|
|
|
mkdir -p /var/lib/snapd/desktop/applications &&
|
|
|
|
chmod 777 /var/lib/snapd/desktop/applications
|
|
|
|
ln -s /var/lib/snapd/desktop/applications /etc/skel/.local/share/applications
|
|
|
|
ln -s snap /usr/bin/snap-store
|
|
|
|
|
|
|
|
|