From edcee098e301a1cb91f462b0363e750e86ddbb5a Mon Sep 17 00:00:00 2001 From: Colin Guthrie <colin@mageia.org> Date: Thu, 25 Apr 2013 21:59:19 +0100 Subject: [PATCH 512/515] 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 3b8e29b..b04505d 100755 --- a/modules.d/30convertfs/convertfs.sh +++ b/modules.d/30convertfs/convertfs.sh @@ -58,6 +58,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 @@ -243,5 +246,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 -- 1.9.2