mplayer: install config from withing mplayer package

This commit is contained in:
kyak committed 2011-04-30 13:16:55 +04:00
1 parent d69ac0f856
commit 773c2448fa
2 files changed
+7 -1

No files matched your search

+7 -1
View File
@@ -163,11 +163,17 @@ define Package/MPlayer/install
$(PKG_BUILD_DIR)/mplayer \
$(1)/usr/bin/mplayer
$(INSTALL_DATA) \
$(FILES_DIR)/input.conf \
$(FILES_DIR)/input.conf $(FILES_DIR)/config \
$(1)/usr/share/mplayer
endef
define Package/MPlayer/postinst
#!/bin/sh
mkdir $${IPKG_INSTROOT}/root/.mplayer
cp $${IPKG_INSTROOT}/usr/share/mplayer/config $${IPKG_INSTROOT}/root/.mplayer/config
endef
$(eval $(call BuildPackage,MPlayer))
File renamed without changes.