diff options
Diffstat (limited to 'test/data/app-a/scripts/postinstall')
-rw-r--r-- | test/data/app-a/scripts/postinstall | 8 |
1 files changed, 8 insertions, 0 deletions
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 |