Skip to content

Commit eb7111b

Browse files
Revert detection on VyOS build script because squeeze old!
1 parent 2719680 commit eb7111b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-vyos

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919
#
2020

21-
if [ `lsb_release -c | grep "squeeze" | wc -l` -ne 1 ];
21+
if [ `dpkg --status tzdata | grep Provides | cut -f 2 -d '-' | grep squeeze | wc -l` -ne 1 ];
2222
then
2323
echo "This script is supported on squeeze only"
2424
exit -1

0 commit comments

Comments
 (0)