mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-20 05:47:00 +00:00
Add a leading slash to Debian conffiles paths
Avoids an error dpkg-deb: error: conffile name 'etc/xdg/autostart/autorandr.desktop' is not an absolute pathname
This commit is contained in:
parent
8937d3e844
commit
3040ed4434
@ -45,7 +45,7 @@ SIZE=$(du -s $D | awk '{print $1}')
|
||||
|
||||
cp -r "$P/debian" "$D/DEBIAN"
|
||||
chmod 0755 "$D/DEBIAN"
|
||||
[ -d "$D/etc" ] && (cd $D; find etc -type f) > "$D/DEBIAN/conffiles"
|
||||
[ -d "$D/etc" ] && (cd $D; find etc -type f -printf '/%p\n') > "$D/DEBIAN/conffiles"
|
||||
sed -i -re "s#Version:.+#Version: $V#" "$D/DEBIAN/control"
|
||||
echo "Installed-Size: $SIZE" >> "$D/DEBIAN/control"
|
||||
fakeroot dpkg-deb -b "$D" "$O"
|
||||
|
Loading…
Reference in New Issue
Block a user