Conditional for vicesa.

This commit is contained in:
fewtarius 2022-03-26 17:11:38 -04:00
parent 15d1f3aa6e
commit b36a47978c
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -17,7 +17,10 @@ PKG_CONFIGURE_OPTS_TARGET+="--disable-pdf-docs"
post_makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/vice
cp -f ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/vice
if [ -d "${PKG_DIR}/config/${DEVICE}" ]
then
cp -f ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/vice
fi
cp -f ${PKG_DIR}/sources/* ${INSTALL}/usr/bin
chmod 0755 ${INSTALL}/usr/bin/*
}