post-install (587B)
1 #!/bin/sh 2 glib-compile-schemas /usr/share/glib-2.0/schemas 2>/dev/null 3 /etc/apk/commit_hooks.d/chamesle-cinnamon-spices.post-commit post-commit 4 # unlock the keyring with the login password, so saving a wi-fi password doesn't ask for a keyring password too 5 p=/etc/pam.d/lightdm 6 if [ -f $p ] && ! grep -q pam_gnome_keyring $p; then 7 sed -i -e '/^auth .*pam_unix.so/a -auth optional pam_gnome_keyring.so' \ 8 -e '/^password .*pam_unix.so/a -password optional pam_gnome_keyring.so use_authtok' $p 9 echo '-session optional pam_gnome_keyring.so auto_start' >> $p 10 fi 11 exit 0