initscripts/populate-volatile.sh: Include change from .oz354x
authorMatthias Hentges <oe@hentges.net>
Sat, 8 Apr 2006 21:45:19 +0000 (21:45 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 8 Apr 2006 21:45:19 +0000 (21:45 +0000)
packages/initscripts/initscripts-1.0/populate-volatile.sh
packages/initscripts/initscripts_1.0.bb

index 99a469d..bf49808 100755 (executable)
@@ -85,8 +85,10 @@ apply_cfgfile() {
         echo "Cannot create link over existing -${TNAME}-." >&2
         } || {
         TSOURCE=`echo ${LINE} | cut -d " " -f 6`
-        [ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
-        ln -s "${TSOURCE}" "${TNAME}"
+       [ -L "${TNAME}" ] || {
+          [ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
+          ln -s "${TSOURCE}" "${TNAME}"
+         }
         }
       continue
       }
index ed4e205..29886d0 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
 DEPENDS_openzaurus = "makedevs virtual/kernel"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r70"
+PR = "r71"
 
 SRC_URI = "file://halt \
            file://ramdisk \