#
# Automatically generate shlibs files.
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
+use Debian::Debhelper::Dh_Lib;
init();
foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
doit("rm", "-f", "$TMP/DEBIAN/shlibs");
- open (FIND, "find $TMP -type f -name '*.so.*' |");
+ open (FIND, "find $TMP -xtype f -name '*.so.*' |");
while (<FIND>) {
chomp;
($library, $major)=m#.*/(.*)\.so\.(\d*)\.?#;
if (-e "$TMP/DEBIAN/shlibs") {
doit("chmod",644,"$TMP/DEBIAN/shlibs");
- doit("chown","root.root","$TMP/DEBIAN/shlibs");
+ doit("chown","0.0","$TMP/DEBIAN/shlibs");
}
}