migrate-to-run: fix test for successful migration
This script originally tested the file system type for the source location of the data we were migrating to determine if the migration was complete. Now we test the destination, and if the softlevel file is there the migration was successful. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
This commit is contained in:
parent
19fa20832c
commit
9314ac64ea
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
. "@LIBEXECDIR@/sh/functions.sh"
|
. "@LIBEXECDIR@/sh/functions.sh"
|
||||||
|
|
||||||
if ! mountinfo -q -f tmpfs "@LIBEXECDIR@/init.d"; then
|
if [ -e /run/openrc/softlevel ]; then
|
||||||
einfo "The OpenRC dependency data has already been migrated."
|
einfo "The OpenRC dependency data has already been migrated."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user