Closed DoffeBupt closed 1 year ago
Hello,
no. I think that It's OK. As if you have 7.1.X you will match in the second conditional. if [[ "$dsm_version" == 7.1* ]]; then
If you have 7.0.X you will match in the first conditional. if [[ "$dsm_version" == 7.0* ]]; then
When you install, Can you tell what injector will put to you?
Best regards.
Yep, my dsm version is 7.0.1 and it told me that 7.0.1 is not supported. After I commented the second conditional, the installation’s successfully achieved.
Hello,
no. It's OK. As if you have 7.1.X you will match in the second conditional. if [[ "$dsm_version" == 7.1* ]]; then
If you have 7.0.X you will match in the first conditional. if [[ "$dsm_version" == 7.0 ]]; then* When you install, Can you tell what injector will put to you?
Best regards.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Can you try with this?
bash -c "$(curl "https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/testing.sh")"
In 7.0.X the correct path in the variable cp_bin_path is: cp_bin_path=/var/packages/CodecPack/target/bin
The injector must be: injector="0-12.2.4"
I have 7.1.1 and It's working with 7.1* into the conditional.
It must be working fine with 7.0.1 too...
I have 7.1.1 and It's working with 7.1* into the conditional.
It must be working fine with 7.0.1 too...
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Can you try with this? `bash -c "$(curl "https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/testing.sh")"
`
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Fixed this bug in: SCPT_2.8
Thanks, best regards.
function check_versions() {
NO SE TRADUCE
if [[ "$dsm_version" == 7.0* ]]; then cp_bin_path=/var/packages/CodecPack/target/bin injector="0-12.2.4" fi
if [[ "$dsm_version" == 7.1* ]]; then cp_bin_path=/var/packages/CodecPack/target/pack/bin injector="1-12.3.5" else error "Your DSM Version $dsm_version is NOT SUPPORTED using this Installer. Please use the MANUAL Procedure." error "Your DSM Version $dsm_version is NOT SUPPORTED using this Installer. Please use the MANUAL Procedure." >> $logfile exit 1 fi }
i mean, if i am of the dsm version of 7.0.X, then i must raise an error. the second if should be something like 'elif' in python?