summarylogtreecommitdiffstats
path: root/ricoh-sp220-som.install
diff options
context:
space:
mode:
Diffstat (limited to 'ricoh-sp220-som.install')
-rw-r--r--ricoh-sp220-som.install16
1 files changed, 11 insertions, 5 deletions
diff --git a/ricoh-sp220-som.install b/ricoh-sp220-som.install
index 781a5e311b40..d86c44778b7a 100644
--- a/ricoh-sp220-som.install
+++ b/ricoh-sp220-som.install
@@ -12,7 +12,7 @@ install_system_icons() {
fi
}
-post_upgrade() {
+update_menus() {
#update the menu
UPDATE_MENUS="`which update-menus 2> /dev/null`"
#update the menu
@@ -34,12 +34,18 @@ post_install() {
rm -f /home/*/.som_uia.ini
}
-post_remove() {
- post_upgrade
-}
-
pre_remove() {
install_system_icons uninstall
}
+post_remove() {
+ update_menus
+}
+
+pre_upgrade() {
+ pre_remove
+}
+post_upgrade() {
+ post_install
+}