1
0
Fork 0
forked from s3lph/matemat

Fixed debian package scripts permissions

This commit is contained in:
s3lph 2018-11-11 22:37:55 +01:00
parent f971c65eef
commit 99c27eaeeb

View file

@ -81,7 +81,7 @@ build_debian:
- sed -re 's$#!/usr/local/bin/python3.6$#!/usr/bin/python3.6$' -i matemat/usr/lib/matemat/matemat - sed -re 's$#!/usr/local/bin/python3.6$#!/usr/bin/python3.6$' -i matemat/usr/lib/matemat/matemat
- find matemat -type f -exec chmod 0644 {} \; - find matemat -type f -exec chmod 0644 {} \;
- find matemat -type d -exec chmod 755 {} \; - find matemat -type d -exec chmod 755 {} \;
- chmod +x matemat/usr/lib/matemat/matemat - chmod +x matemat/usr/lib/matemat/matemat matemat/DEBIAN/postinst matemat/DEBIAN/prerm matemat/DEBIAN/postrm
- dpkg-deb --build matemat - dpkg-deb --build matemat
- mv matemat.deb "matemat_${MATEMAT_VERSION}-1_all.deb" - mv matemat.deb "matemat_${MATEMAT_VERSION}-1_all.deb"
- sudo -u nobody lintian "matemat_${MATEMAT_VERSION}-1_all.deb" - sudo -u nobody lintian "matemat_${MATEMAT_VERSION}-1_all.deb"