aboutsummarylogtreecommitdiffstats
path: root/pearai-bin.install
blob: 9650101d38d134a8341ae48b9759f3303fec7294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
    echo "Updating desktop database..."
    update-desktop-database /usr/share/applications || true

    echo "Rebuilding icon cache..."
    gtk-update-icon-cache /usr/share/icons/hicolor || true

    echo "Installation of PearAI completed successfully!"
    echo "You can launch PearAI from the applications menu or by typing 'PearAI' in the terminal."
    echo "If you experience issues, try logging out and back in."
    echo "For further help, feel free to contact us on the PearAI Discord community!"
}

post_upgrade() {
    post_install
}

post_remove() {
    echo "Updating desktop database..."
    update-desktop-database /usr/share/applications || true

    echo "Rebuilding icon cache..."
    gtk-update-icon-cache /usr/share/icons/hicolor || true
}