blob: 6fddf0723ec0e31baf68dd00e3e1103e422a7915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
post_install() {
echo "Update icon cache..."
xdg-icon-resource forceupdate --theme hicolor &>/dev/null
echo "Update mime database..."
update-mime-database usr/share/mime &> /dev/null
echo "Update desktop database..."
update-desktop-database -q
}
post_upgrade() {
post_install "$1"
echo ""
echo "Note: As LibrePCB is still in development, you should clone"
echo "the demo workspace from https://github.com/LibrePCB/demo-workspace"
echo "and use it as your LibrePCB workspace."
echo "Otherwise you won't have a components library and some parts"
echo "of the UI will not work."
echo ""
}
post_remove() {
post_install "$1"
}
|