mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 11:40:33 +00:00
11 lines
401 B
Bash
11 lines
401 B
Bash
#!/bin/sh
|
|
set -e
|
|
mkdir fix_up_deb
|
|
dpkg-deb -x @CPACK_PACKAGE_FILE_NAME@.deb fix_up_deb_permissions
|
|
dpkg-deb --control @CPACK_PACKAGE_FILE_NAME@.deb fix_up_deb_permissions/DEBIAN
|
|
rm @CPACK_PACKAGE_FILE_NAME@.deb
|
|
chmod 0644 fix_up_deb_permissions/DEBIAN/md5sums
|
|
find -type d -print0 |xargs -0 chmod 755
|
|
fakeroot dpkg -b fix_up_deb_permissions @CPACK_PACKAGE_FILE_NAME@.deb
|
|
rm -rf fix_up_deb_permissions
|