Deb package contents should be owned by root.

pull/324/head
Fredrik Öhrström 2021-07-15 10:06:43 +02:00
rodzic e31f1d005f
commit 209ce83c36
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -71,7 +71,9 @@ cp /tmp/copyright $BUILD/debian/wmbusmeters/usr/share/doc/wmbusmeters/copyright
for x in preinst postinst prerm postrm ; do \
cp deb/$x $BUILD/debian/wmbusmeters/DEBIAN/ ; \
chmod 555 $BUILD/debian/wmbusmeters/DEBIAN/$x ; \
done
done
# Change owner to root
chown -R root:root $BUILD/debian/wmbusmeters
# Package the deb
(cd $BUILD/debian; dpkg-deb --build wmbusmeters .)
mv $BUILD/debian/wmbusmeters_${DEBVERSION}_${DEBARCH}.deb .