mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
21 lines
No EOL
502 B
Text
21 lines
No EOL
502 B
Text
post_install() {
|
|
# Update desktop database
|
|
update-desktop-database -q
|
|
# Update icon cache
|
|
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
# Update desktop database
|
|
update-desktop-database -q
|
|
# Update icon cache
|
|
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
|
|
|
|
echo "NoteGen has been removed."
|
|
echo "To remove user data, run:"
|
|
echo " rm -rf ~/.config/note-gen ~/.local/share/note-gen"
|
|
} |