Compare commits
1 Commits
caa4ea97ea
...
220e756866
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
220e756866 |
2
atom
2
atom
@ -331,7 +331,7 @@ fi
|
|||||||
|
|
||||||
openDatabase
|
openDatabase
|
||||||
|
|
||||||
for destination in "${!destinationpath[@]}"
|
for destination in "${destinations[@]}"
|
||||||
do
|
do
|
||||||
if (( ${destinationenabled["$destination"]} ))
|
if (( ${destinationenabled["$destination"]} ))
|
||||||
then
|
then
|
||||||
|
|||||||
@ -21,7 +21,7 @@ printConfig() {
|
|||||||
printed=1
|
printed=1
|
||||||
done
|
done
|
||||||
unset printed
|
unset printed
|
||||||
for destination in ${!destinationpath[@]}
|
for destination in ${destinations[@]}
|
||||||
do
|
do
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,7 @@ path $sourcepath
|
|||||||
|
|
||||||
|
|
||||||
EOCfg
|
EOCfg
|
||||||
for destination in "${!destinationpath[@]}"
|
for destination in "${destinations[@]}"
|
||||||
do
|
do
|
||||||
cat <<-EOCfg
|
cat <<-EOCfg
|
||||||
[$destination]
|
[$destination]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
createDestinations() {
|
createDestinations() {
|
||||||
for destination in ${!destinationpath[@]}
|
for destination in ${destinations[@]}
|
||||||
do
|
do
|
||||||
if ! [ -d "${destinationpath["$destination"]}" ]
|
if ! [ -d "${destinationpath["$destination"]}" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user