FIX: copy_extension

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

1
atom
View File

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

View File

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