Przeglądaj źródła

dpkg-maintscript-helper: fix function called by mv_conffile in postrm

Simple copy-paste error, it worked despite the mistake due to the similarity of
abort_mv_conffile and abort_rm_conffile.
Raphaël Hertzog 16 lat temu
rodzic
commit
9b027d8e4e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      scripts/dpkg-maintscript-helper.sh

+ 1 - 1
scripts/dpkg-maintscript-helper.sh

@@ -157,7 +157,7 @@ mv_conffile() {
 	postrm)
 		if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ] &&
 		   dpkg --compare-versions "$2" le-nl "$LASTVERSION"; then
-			abort_rm_conffile "$OLDCONFFILE"
+			abort_mv_conffile "$OLDCONFFILE"
 		fi
 		;;
 	*)