Skip to content

Commit a16af0e

Browse files
committed
exclude config-version
1 parent e8431de commit a16af0e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+6
-6
lines changed

bin/v-list-sys-vesta-updates

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ else
4242
dpkg_data=$(dpkg-query -s vesta)
4343
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/vesta.list)
4444
ARCH=$(echo "$dpkg_data"|grep Architecture | cut -f 2 -d ' ')
45-
VERSION=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 1 -d \-)
46-
RELEASE=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 2 -d \-)
45+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
46+
RELEASE=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 2 -d \-)
4747
DATE=$(date -d @$pkg_date +"%F")
4848
TIME=$(date -d @$pkg_date +"%T")
4949
fi
@@ -65,8 +65,8 @@ else
6565
dpkg_data=$(dpkg-query -s vesta-php)
6666
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/vesta-php.list)
6767
ARCH=$(echo "$dpkg_data"|grep Architecture | cut -f 2 -d ' ')
68-
VERSION=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 1 -d \-)
69-
RELEASE=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 2 -d \-)
68+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
69+
RELEASE=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 2 -d \-)
7070
DATE=$(date -d @$pkg_date +"%F")
7171
TIME=$(date -d @$pkg_date +"%T")
7272
fi
@@ -89,8 +89,8 @@ else
8989
dpkg_data=$(dpkg-query -s vesta-nginx)
9090
pkg_date=$(stat -c "%Y" /var/lib/dpkg/info/vesta-nginx.list)
9191
ARCH=$(echo "$dpkg_data"|grep Architecture | cut -f 2 -d ' ')
92-
VERSION=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 1 -d \-)
93-
RELEASE=$(echo "$dpkg_data"|grep Version |cut -f 2 -d ' '|cut -f 2 -d \-)
92+
VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-)
93+
RELEASE=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 2 -d \-)
9494
DATE=$(date -d @$pkg_date +"%F")
9595
TIME=$(date -d @$pkg_date +"%T")
9696
fi

install/debian/7/dovecot.tar.gz

0 Bytes
Binary file not shown.

install/debian/7/fail2ban.tar.gz

0 Bytes
Binary file not shown.

install/debian/7/firewall.tar.gz

0 Bytes
Binary file not shown.

install/debian/7/packages.tar.gz

0 Bytes
Binary file not shown.

install/debian/7/templates.tar.gz

0 Bytes
Binary file not shown.

install/debian/8/dovecot.tar.gz

0 Bytes
Binary file not shown.

install/debian/8/fail2ban.tar.gz

0 Bytes
Binary file not shown.

install/debian/8/firewall.tar.gz

0 Bytes
Binary file not shown.

install/debian/8/packages.tar.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)