diff options
Diffstat (limited to 'test/data/app-a')
-rw-r--r-- | test/data/app-a/root/etc/prod/foo.conf | 1 | ||||
-rw-r--r-- | test/data/app-a/scripts/postinstall | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/data/app-a/root/etc/prod/foo.conf b/test/data/app-a/root/etc/prod/foo.conf new file mode 100644 index 0000000..ce01362 --- /dev/null +++ b/test/data/app-a/root/etc/prod/foo.conf @@ -0,0 +1 @@ +hello diff --git a/test/data/app-a/scripts/postinstall b/test/data/app-a/scripts/postinstall index cd16289..a77f86f 100644 --- a/test/data/app-a/scripts/postinstall +++ b/test/data/app-a/scripts/postinstall @@ -1,3 +1,11 @@ #!/bin/bash echo "Hello World!" + +if [ -d root/etc/$APPSH_INSTANCE ] +then + find root/etc/$APPSH_INSTANCE -type f -maxdepth 1 | while read file + do + cp $file root/ + done +fi |