From 2717ae2e7fa2baec507f1a0e86c144f6948cc0c4 Mon Sep 17 00:00:00 2001 From: Colin Guthrie <colin@mageia.org> Date: Thu, 25 Apr 2013 21:59:19 +0100 Subject: [PATCH 510/514] Support the simple upgrade preparation API (mga#9744) --- modules.d/30convertfs/convertfs.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules.d/30convertfs/convertfs.sh b/modules.d/30convertfs/convertfs.sh index 4806ce3b..67d46c1c 100755 --- a/modules.d/30convertfs/convertfs.sh +++ b/modules.d/30convertfs/convertfs.sh @@ -56,6 +56,9 @@ fi if ! needconvert; then echo "Your system is already converted." + if [[ -f "$ROOT/var/lib/mageia-prepare-upgrade/state" ]]; then + echo "ready" >"$ROOT/var/lib/mageia-prepare-upgrade/state" + fi exit 0 fi @@ -241,5 +244,9 @@ elif [[ -f "$ROOT/usr/lib/iptables.usrmove~" ]]; then fi fi +if [[ -f "$ROOT/var/lib/mageia-prepare-upgrade/state" ]]; then + echo "ready" >"$ROOT/var/lib/mageia-prepare-upgrade/state" +fi + echo "Done." exit 0 -- 2.13.5