Index: openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl 7 Aug 2017 23:47:48 -0000 1.6 +++ openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl 25 Apr 2018 19:23:25 -0000 1.7 @@ -12,7 +12,7 @@ @author Jeff Davis (davis@xarg.net) } { - set uninstalled [list] + set uninstalled {} # Determine which spec files are not installed foreach spec_file [apm_scan_packages "$::acs::rootdir/packages"] { if { ! [catch {array set version [apm_read_package_info_file $spec_file]} errMsg] } { @@ -26,7 +26,7 @@ } # sort the list and return in array set form - set out [list] + set out {} foreach pkg [lsort -dictionary -index 1 $uninstalled] { set out [concat $out $pkg] }