Merge branch 'rochade'
[alioth/musescore.git] / debian / musescore3-common.prerm
index b1e50fb..83d2026 100644 (file)
@@ -6,10 +6,10 @@ set -e
 #
 # * prerm "remove"
 # * old-prerm "upgrade" $new_version
-# * conflictors-prerm "remove" "in-favour" $package $new_version
+# * conflictors-prerm "remove" "in-favour" $new_package $new_version
 # * deconfigureds-prerm "deconfigure" "in-favour"
-#      $package_being_installed $pbi_version ["removing"
-#      $conflicting_package $cp_version]
+#      $package_being_installed $pbi_version           # new-package
+#      ["removing" $conflicting_package $cp_version]   # old-package
 # The package and dependencies are at least Half-Installed; dependencies
 # have previously been configured and not removed.
 #
@@ -19,17 +19,17 @@ set -e
 # other constraints the same as above.
 
 case $1 in
-remove|deconfigure)
+(remove|deconfigure)
        # remove directories if they were created in postinst
        rmdir --ignore-fail-on-non-empty \
            /usr/share/sounds/sf2 /usr/share/sounds/sf3 /usr/share/sounds/sfz
        ;;
 
-upgrade|failed-upgrade)
+(upgrade|failed-upgrade)
        ;;
 
-*)
-       echo >&2 "prerm called with unknown subcommand '$1'"
+(*)
+       echo >&2 "E: prerm called with unknown subcommand '$1'"
        exit 1
        ;;
 esac