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 -N -r1.8 -r1.9 --- openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl 30 Apr 2018 15:34:17 -0000 1.8 +++ openacs-4/packages/acs-core-docs/tcl/acs-core-docs-procs.tcl 9 May 2018 15:33:28 -0000 1.9 @@ -12,7 +12,7 @@ @author Jeff Davis (davis@xarg.net) } { - set uninstalled {} + set uninstalled [list] # 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 {} + set out [list] foreach pkg [lsort -dictionary -index 1 $uninstalled] { lappend out {*}$pkg }