fix pcmciautils build
authorFelix Fietkau <nbd@openwrt.org>
Sat, 31 Jan 2009 16:43:21 +0000 (16:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 31 Jan 2009 16:43:21 +0000 (16:43 +0000)
SVN-Revision: 14322

utils/pcmciautils/Makefile

index ea60ce9c4d8caf619cfdb7e0975185f8d329a8fb..8346c2a838a8fd1bedc0842f8a8c628df5be71ea 100644 (file)
@@ -41,6 +41,7 @@ define Package/pcmciautils/install
        $(CP) $(PKG_BUILD_DIR)/pccardctl $(1)/usr/sbin/
        $(CP) $(PKG_BUILD_DIR)/pcmcia-check-broken-cis $(1)/usr/sbin/
        $(CP) $(PKG_BUILD_DIR)/pcmcia-socket-startup $(1)/usr/sbin/
+       rm -f $(1)/usr/sbin/lspcmcia
        ln -s pccardctl $(1)/usr/sbin/lspcmcia
        $(INSTALL_DIR) $(1)/etc/pcmcia/
        $(CP) $(PKG_BUILD_DIR)/config/config.opts $(1)/etc/pcmcia/