irda-utils: Create /etc/sysconfig if it doesn't exist
authorMatthias Hentges <oe@hentges.net>
Wed, 26 Apr 2006 09:37:45 +0000 (09:37 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 26 Apr 2006 09:37:45 +0000 (09:37 +0000)
packages/irda-utils/files/init
packages/irda-utils/irda-utils_0.9.16.bb

index 0da6c38..9becfcc 100755 (executable)
@@ -21,6 +21,7 @@ if [ ! -f /etc/sysconfig/irda ]; then
            ;;
     esac
 
+    mkdir -p /etc/sysconfig
     echo "IRDA=$IRDA" > /etc/sysconfig/irda
     if [ $IRDA = "yes" ]; then
        echo "DEVICE=$DEVICE" >> /etc/sysconfig/irda
index 1753edc..db56a70 100644 (file)
@@ -3,7 +3,7 @@ IrDA allows communication over Infrared with other devices \
 such as phones and laptops."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
           file://configure.patch;patch=1 \