From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C7CA9138010 for ; Wed, 3 Apr 2013 16:34:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57C7FE0B06; Wed, 3 Apr 2013 16:34:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7846E0B06 for ; Wed, 3 Apr 2013 16:34:12 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E74A133DD0F for ; Wed, 3 Apr 2013 16:34:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 75488E4073 for ; Wed, 3 Apr 2013 16:34:10 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1365006319.9314ac64ead736c3e2b0d990a8b7030c16013993.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/migrate-to-run.sh.in X-VCS-Directories: sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 9314ac64ead736c3e2b0d990a8b7030c16013993 X-VCS-Branch: master Date: Wed, 3 Apr 2013 16:34:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f5c320d3-c464-430d-96d6-02ef07ae7861 X-Archives-Hash: ba25cd86852e1b1824f1dda86b94e46c commit: 9314ac64ead736c3e2b0d990a8b7030c16013993 Author: William Hubbs gmail com> AuthorDate: Wed Apr 3 16:25:19 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Apr 3 16:25:19 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=9314ac64 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 gmail.com> --- sh/migrate-to-run.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sh/migrate-to-run.sh.in b/sh/migrate-to-run.sh.in index b18c541..91f49fa 100644 --- a/sh/migrate-to-run.sh.in +++ b/sh/migrate-to-run.sh.in @@ -4,7 +4,7 @@ . "@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." exit 0 fi