Fork upgrade process after upgrading the script.
This commit is contained in:
parent
c29ce06a67
commit
370c5b7044
|
@ -79,6 +79,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: Updating gentoo-upgrade script failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: Updating gentoo-upgrade script failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exec $0 -s $((STAGE+1))
|
||||||
|
|
||||||
|
echo "Stage $STAGE: Bash translator in unreachable code ;-(" && exit $STAGE
|
||||||
|
|
||||||
let STAGE++
|
let STAGE++
|
||||||
fi
|
fi
|
||||||
let STAGE_CNT++
|
let STAGE_CNT++
|
||||||
|
|
Loading…
Reference in New Issue