Commit 7e29b44e authored by Vitaly Lipatov's avatar Vitaly Lipatov

play code.sh: fix code download

parent ba05be89
......@@ -31,8 +31,11 @@ case "$arch" in
;;
esac
pkgtype="$($DISTRVENDOR -p)"
# we have workaround for their postinstall script, so always repack rpm package
[ "$($DISTRVENDOR -p)" = "deb" ] || repack='--repack'
[ "$pkgtype" = "deb" ] || repack='--repack'
PKG=/tmp/$PKGNAME.$pkgtype
# TODO: wget does not support: Content-Disposition: attachment; filename="code-1.52.1-1608137084.el7.x86_64.rpm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment