diff options
Diffstat (limited to 'mkslackinfo')
| -rwxr-xr-x | mkslackinfo | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mkslackinfo b/mkslackinfo index 70ec4cc..3ebb5a8 100755 --- a/mkslackinfo +++ b/mkslackinfo @@ -178,7 +178,7 @@ if($file =~ /\.zip$/i) { } elsif($file =~ /\.7z$/i) { $extract = "7za x \$CWD/\$PRGNAM-\$VERSION.rar"; } elsif($file =~ /(\.tar(?:$|\..*)|\.t[bxg]z)/i) { - $extract = "tar xvf \$CWD/\$PRGNAM-\$VERSION$1"; + $extract = "tar xvf \$CWD/\$PRGNAM-\$VERSION$1 --no-same-owner"; $tar = 1; } else { $extract = "EXTRACT"; @@ -322,10 +322,9 @@ cd $TMP rm -rf $PRGNAM-$VERSION __EXTRACT__ cd $PRGNAM-$VERSION -chown -R root:root . -find . ! -type l -a \ +find . ! -type l -a \( \ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \ - \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) + \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) \) __BUILD__ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |
