mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
list by creation date
This commit is contained in:
parent
9ba91b4b02
commit
21c44a8ab9
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ source $VESTA/func/main.sh
|
|||
json_list_pkgs() {
|
||||
echo '{'
|
||||
fileds_count=$(echo "$fields" | wc -w)
|
||||
for package in $(ls -t $VESTA/data/packages |grep .pkg); do
|
||||
for package in $(ls --sort=time $VESTA/data/packages |grep .pkg); do
|
||||
PACKAGE=${package/.pkg/}
|
||||
pkg_data=$(cat $VESTA/data/packages/$package)
|
||||
eval $pkg_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue