We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba91b4 commit 21c44a8Copy full SHA for 21c44a8
bin/v-list-sys-ips
@@ -18,7 +18,7 @@ source $VESTA/func/main.sh
18
# Json function
19
json_list_ips() {
20
echo '{'
21
- ip_list=$(ls $VESTA/data/ips/)
+ ip_list=$(ls --sort=time $VESTA/data/ips/)
22
fileds_count=$(echo "$fields" | wc -w)
23
for IP in $ip_list; do
24
ip_data=$(cat $VESTA/data/ips/$IP)
bin/v-list-user-packages
@@ -19,7 +19,7 @@ source $VESTA/func/main.sh
json_list_pkgs() {
- 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)
25
eval $pkg_data
0 commit comments