Fix missing options in wrapper & improve DSM version check

This commit is contained in:
AlexPresso
2022-05-09 21:12:42 +02:00
parent 3a2d5b73fa
commit 3687bb7696
2 changed files with 3 additions and 2 deletions

View File

@@ -245,6 +245,7 @@ case "$1" in
else
args2sv+=("$1")
args1vs+=("$1")
args2vs+=("$1")
fi
;;
esac

View File

@@ -125,10 +125,10 @@ arg1=${1:--patch}
check_dependencies
info "You're running DSM $dsm_version"
if [[ $dsm_version = "7.1" ]]; then
if [[ $dsm_version > 7.0 ]]; then
cp_bin_path=/var/packages/CodecPack/target/pack/bin
info "Tuned script for DSM 7.1"
info "Tuned script for DSM $dsm_version"
fi
case "$arg1" in