From ed223a50ce8829c94739f91c2a20a1729d4a2d4f Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Mon, 4 Dec 2006 11:11:43 +0000 Subject: [PATCH] Stefan Fiedler: stone: one fix for new /dev layout in mod_install.sh [2006112719342931576] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8080 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/stone/stone_mod_install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/base/stone/stone_mod_install.sh b/package/base/stone/stone_mod_install.sh index 4ea836d4b..74cb8b10a 100644 --- a/package/base/stone/stone_mod_install.sh +++ b/package/base/stone/stone_mod_install.sh @@ -188,8 +188,7 @@ This dialog allows you to modify your discs partition layout and to create files # protect for the case no discs are present ... if [ -e /dev/discs ] ; then - for x in $( cd /dev/discs - ls -l */disc | grep ' -> ' | cut -f4- -d/ ; ) + for x in $( cd /dev/ ; ls discs/*/disc 2> /dev/null ) do disk_add ${x%/disc} done