aboutsummaryrefslogtreecommitdiff
path: root/slackupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'slackupgrade')
-rw-r--r--slackupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackupgrade b/slackupgrade
index 30bfa9c..e4335a0 100644
--- a/slackupgrade
+++ b/slackupgrade
@@ -573,13 +573,13 @@ do
dropfile $file
done
# Build a list of installed packages
ls /var/log/packages |\
sed -r -e 's/-[^-]+-(i386|x86(_64)?|arm|noarch|fw)-[[:digit:]]+(_.*)?//' |\
- sort > $installed_list
+ sort -u > $installed_list
# Build a list of packages to install
(if [ -n "$install_all" ]; then
all_package_names
else
comm -1 -2 $installed_list $avail_list

Return to:

Send suggestions and report system problems to the System administrator.