Commit 58164194 authored by Vitaly Lipatov's avatar Vitaly Lipatov

prescription.d/code.sh: fix for deb based system

parent 92140ab2
...@@ -31,19 +31,6 @@ case "$arch" in ...@@ -31,19 +31,6 @@ case "$arch" in
;; ;;
esac esac
pkgtype="$($DISTRVENDOR -p)"
repack=''
case "$pkgtype" in
deb)
repack='--repack'
;;
rpm)
;;
*)
fatal "Package format $pkgtype is not supported yet"
esac
# we have workaround for their postinstall script, so always repack rpm package # we have workaround for their postinstall script, so always repack rpm package
[ "$($DISTRVENDOR -p)" = "deb" ] || repack='--repack' [ "$($DISTRVENDOR -p)" = "deb" ] || repack='--repack'
......
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