Fix generating maintscripts

parent bcf46f0d
Pipeline #34976519 passed with stage
in 3 minutes and 8 seconds
......@@ -8,6 +8,7 @@ case "$1" in
if [ -d ${TARGET} ]; then
rm -rf ${TARGET}
fi
;;
esac
......
interest /usr/lib/#DEB_HOST_MULTIARCH#/libhybris
......@@ -5,11 +5,18 @@ include /usr/share/dpkg/architecture.mk
%:
dh [email protected]
override_dh_installdeb:
dh_installdeb
override_dh_auto_configure:
sed \
-e "s/#DEB_HOST_MULTIARCH#/${DEB_HOST_MULTIARCH}/g" \
-e "s/#DEB_HOST_GNU_CPU#/${DEB_HOST_GNU_CPU}/g" \
debian/flatpak-extension-libhybris.postinst.in > debian/flatpak-extension-libhybris.postinst
sed -i s/#DEB_HOST_MULTIARCH#/$${DEB_HOST_MULTIARCH}/g debian/flatpak-extension-libhybris/DEBIAN/postinst
sed -i s/#DEB_HOST_GNU_CPU#/$${DEB_HOST_GNU_CPU}/g debian/flatpak-extension-libhybris/DEBIAN/postinst
sed \
-e "s/#DEB_HOST_MULTIARCH#/${DEB_HOST_MULTIARCH}/g" \
-e "s/#DEB_HOST_GNU_CPU#/${DEB_HOST_GNU_CPU}/g" \
debian/flatpak-extension-libhybris.prerm.in > debian/flatpak-extension-libhybris.prerm
sed -i s/#DEB_HOST_MULTIARCH#/$${DEB_HOST_MULTIARCH}/g debian/flatpak-extension-libhybris/DEBIAN/prerm
sed -i s/#DEB_HOST_GNU_CPU#/$${DEB_HOST_GNU_CPU}/g debian/flatpak-extension-libhybris/DEBIAN/prerm
sed \
-e "s/#DEB_HOST_MULTIARCH#/${DEB_HOST_MULTIARCH}/g" \
-e "s/#DEB_HOST_GNU_CPU#/${DEB_HOST_GNU_CPU}/g" \
debian/flatpak-extension-libhybris.triggers.in > debian/flatpak-extension-libhybris.triggers
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment