+debhelper (1.2.67) unstable; urgency=low
+
+ * dh_installmodules: fixed type that made the program not work.
+
+ -- Joey Hess <joeyh@master.debian.org> Wed, 12 May 1999 00:25:05 -0700
+
debhelper (1.2.66) unstable; urgency=low
* examples/rules.multi: dh_shlibdeps must be run before dh_gencontrol
if (! -d "$TMP/usr/doc/$PACKAGE") {
doit("install","-d","$TMP/usr/doc/$PACKAGE");
}
- doit("install","-p","-m644",$changelog,"$TMP/usr/doc/$PACKAGE/$changelog_name");
+ doit("install","-o","root","-g","root","-p","-m644",$changelog,
+ "$TMP/usr/doc/$PACKAGE/$changelog_name");
if ($upstream) {
if ($upstream=~m/\.html?$/i) {
# HTML changelog
- doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog.html");
+ doit("install","-o","root","-g","root","-p","-m644",
+ $upstream,"$TMP/usr/doc/$PACKAGE/changelog.html");
}
else {
- doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog");
+ doit("install","-o","root","-g","root","-p","-m644",
+ $upstream,"$TMP/usr/doc/$PACKAGE/changelog");
}
if ($dh{K_FLAG}) {
# Install symlink to original name of the upstream changelog file.
if ($file) {
if (! -e "$TMP/etc/modutils") {
doit("install","-d","$TMP/etc/modutils");
- doit("cp","-m0644",$file,"$TMP/etc/modutils/$PACKAGE");
+ doit("install","-m","0644",$file,"$TMP/etc/modutils/$PACKAGE");
}
if (! $dh{NOSCRIPTS}) {
script. If you would like to embed it into a perl script, here is one way to
do that (note that I made sure that $1, $2, etc are set with the set command):
-my $temp="set -- @ARGV\n" . << `EOF`;
+my $temp="set -e\nset -- @ARGV\n" . << 'EOF';
#DEBHELPER#
EOF
-system $temp;
+system ($temp) / 256 == 0
+ or die "Problem with debhelper scripts: $!\n";
Other notes:
-----------