summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/pkgtools/scripts/installpkg
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/a/pkgtools/scripts/installpkg')
-rw-r--r--slackware64-current/source/a/pkgtools/scripts/installpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/a/pkgtools/scripts/installpkg b/slackware64-current/source/a/pkgtools/scripts/installpkg
index 88ca204f7..8ca164eb7 100644
--- a/slackware64-current/source/a/pkgtools/scripts/installpkg
+++ b/slackware64-current/source/a/pkgtools/scripts/installpkg
@@ -505,7 +505,7 @@ EOF
grep "^$shortname:" $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
fi
echo "FILE LIST:" >> $ADM_DIR/packages/$shortname
- ( cd $ROOT/ ; $packagecompression -dc | $TAR -xlUpvf - ) < $package >> $TMP/$shortname 2> /dev/null
+ ( cd $ROOT/ ; $packagecompression -dc | $TAR -xlUpvf - | sort ) < $package >> $TMP/$shortname 2> /dev/null
if [ "$( grep '^\./' $TMP/$shortname | wc -l | tr -d ' ')" = "1" ]; then
# Good. We have a package that meets the Slackware spec.
cat $TMP/$shortname >> $ADM_DIR/packages/$shortname