FIX: copy_extension

declare hash array
This commit is contained in:
Vincent Riquer 2025-01-30 03:22:53 +01:00
parent b00f8a5955
commit 91939c0614
2 changed files with 2 additions and 1 deletions

1
atom
View File

@ -18,6 +18,7 @@ declare -A \
destinationchannels \ destinationchannels \
destinationfat32compat \ destinationfat32compat \
destinationcopymime \ destinationcopymime \
destinationcopyext \
destinationformat \ destinationformat \
destinationfrequency \ destinationfrequency \
destinationid \ destinationid \

View File

@ -186,7 +186,7 @@ getConfigDestination() {
destinationcopymime[$destination]="${destinationcopymime[$destination]:+${destinationcopymime[$destination]}|}$value" destinationcopymime[$destination]="${destinationcopymime[$destination]:+${destinationcopymime[$destination]}|}$value"
;; ;;
'copy_extension') 'copy_extension')
destinationcopyext[$destination]="${destinationcopyext[$destination]:+${destinationcopyext[$destination]}|}$value" destinationcopyext[$destination]="${destinationcopyext[$destination]:+${destinationcopyext[$destination]}|}\.$value$"
;; ;;
'higher-than') 'higher-than')
expr='^[0-9]*$' expr='^[0-9]*$'