diff --git a/fbterm/Makefile b/fbterm/Makefile index f4f6e2b..1d26bbf 100644 --- a/fbterm/Makefile +++ b/fbterm/Makefile @@ -46,7 +46,7 @@ endef define Package/fbterm/postinst #! /bin/sh -cp $${IPKG_INSTROOT}/usr/share/fbterm/fbtermrc $${IPKG_INSTROOT}/root/.fbtermrc +mkdir $${IPKG_INSTROOT}/root && cp $${IPKG_INSTROOT}/usr/share/fbterm/fbtermrc $${IPKG_INSTROOT}/root/.fbtermrc endef $(eval $(call BuildPackage,fbterm)) diff --git a/nightsky/Makefile b/nightsky/Makefile index 610d369..0dad0e5 100644 --- a/nightsky/Makefile +++ b/nightsky/Makefile @@ -56,7 +56,7 @@ endef define Package/nightsky/postinst #! /bin/sh -cp $${IPKG_INSTROOT}/usr/share/nightsky/example-nightsky.yml $${IPKG_INSTROOT}/root/.nightsky.yml +mkdir $${IPKG_INSTROOT}/root && cp $${IPKG_INSTROOT}/usr/share/nightsky/example-nightsky.yml $${IPKG_INSTROOT}/root/.nightsky.yml endef $(eval $(call BuildPackage,nightsky))