Skip to content

Commit 47beb4f

Browse files
author
Kristan Kenney
committed
Merge branch 'fix/1318-ui-update-versioning' into staging/fixes
2 parents 0153cf5 + 6b803e0 commit 47beb4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/v-list-sys-hestia-updates

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ php_v=$(apt-cache policy hestia-php | grep Candidate | cut -d ':' -f 2 | xargs)
6868
dpkg_data=$(dpkg-query -s hestia)
6969
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/hestia.list)
7070
ARCH=$(echo "$dpkg_data"|grep Architecture |cut -f 2 -d ' ')
71-
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
71+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' ')
7272
DATE=$(date -d @$pkg_date +"%F")
7373
TIME=$(date -d @$pkg_date +"%T")
7474

@@ -84,7 +84,7 @@ data="$data UPDATED='$UPDATED' DESCR='core package' TIME='$TIME' DATE='$DATE'"
8484
dpkg_data=$(dpkg-query -s hestia-php)
8585
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/hestia-php.list)
8686
ARCH=$(echo "$dpkg_data"|grep Architecture | cut -f 2 -d ' ')
87-
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
87+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' ')
8888
DATE=$(date -d @$pkg_date +"%F")
8989
TIME=$(date -d @$pkg_date +"%T")
9090

@@ -101,7 +101,7 @@ data="$data TIME='$TIME' DATE='$DATE'"
101101
dpkg_data=$(dpkg-query -s hestia-nginx)
102102
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/hestia-nginx.list)
103103
ARCH=$(echo "$dpkg_data"|grep Architecture | cut -f 2 -d ' ')
104-
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
104+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' ')
105105
DATE=$(date -d @$pkg_date +"%F")
106106
TIME=$(date -d @$pkg_date +"%T")
107107

0 commit comments

Comments
 (0)