]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/packaging/debian/make_deb.sh
Bug fix: ensure that the Debian control directory has permissions 0755.
[deb_pkgs/autorandr.git] / contrib / packaging / debian / make_deb.sh
index dddc08fa69d706d27cfc6752786a22015fd16fd0..fe8fe375f18b2ca8ee206cb5a527a45bf9636992 100755 (executable)
@@ -34,7 +34,7 @@ mkdir $D
 # Debian(ish) specific part
 make -C "$P/../../../" \
        DESTDIR="$D" \
-       TARGETS="autorandr bash_completion autostart_config pmutils systemd udev" \
+       TARGETS="autorandr bash_completion autostart_config systemd udev" \
        BASH_COMPLETION_DIR=/usr/share/bash-completion/completions \
        SYSTEMD_UNIT_DIR=/lib/systemd/system \
        PM_UTILS_DIR=/usr/lib/pm-utils/sleep.d \
@@ -44,6 +44,7 @@ make -C "$P/../../../" \
 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"
 sed -i -re "s#Version:.+#Version: $V#" "$D/DEBIAN/control"
 echo "Installed-Size: $SIZE" >> "$D/DEBIAN/control"