We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c548d commit 0982dcbCopy full SHA for 0982dcb
backup/README.md
@@ -0,0 +1,2 @@
1
+This directory contains backup copies of Kernel/cpan_lib which were overwritten
2
+during updates of OTOBO. See the function `copy_otobo_next` in bin/docker/entrypoint.sh.
bin/docker/entrypoint.sh
@@ -130,7 +130,7 @@ function copy_otobo_next() {
130
# the entire directory out of the way when it already exists.
131
if [ -d "$OTOBO_HOME/Kernel/cpan-lib" ]; then
132
source_dir="$OTOBO_HOME/Kernel/cpan-lib"
133
- target_dir="$OTOBO_HOME/var/backup_cpan_lib/$(date +%Y-%m-%d-%H%M%S)_$RANDOM/Kernel"
+ target_dir="$OTOBO_HOME/backup/$(date +%Y-%m-%d-%H%M%S)_$RANDOM/Kernel"
134
mkdir --parents $target_dir
135
mv $source_dir $target_dir
136
{
0 commit comments