fix pcmciautils build
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 31 Jan 2009 16:43:21 +0000 (16:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 31 Jan 2009 16:43:21 +0000 (16:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14322 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/pcmciautils/Makefile

index ea60ce9..8346c2a 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/