|
...
|
...
|
@@ -118,7 +118,7 @@ if [[ $EUID -eq 0 ]]; then
|
|
118
|
118
|
|
|
119
|
119
|
echo "Copying files to stack user"
|
|
120
|
120
|
STACK_DIR="$DEST/${PWD##*/}"
|
|
121
|
|
- cp -r -f "$PWD" "$STACK_DIR"
|
|
|
121
|
+ cp -r -f -T "$PWD" "$STACK_DIR"
|
|
122
|
122
|
chown -R stack "$STACK_DIR"
|
|
123
|
123
|
if [[ "$SHELL_AFTER_RUN" != "no" ]]; then
|
|
124
|
124
|
exec su -c "set -e; cd $STACK_DIR; bash stack.sh; bash" stack
|
|
...
|
...
|
@@ -398,8 +398,8 @@ fi
|
|
398
|
398
|
# - We are parsing the packages files and detecting metadatas.
|
|
399
|
399
|
# - If there is a NOPRIME as comment mean we are not doing the install
|
|
400
|
400
|
# just yet.
|
|
401
|
|
-# - If we have the meta-keyword distro:DISTRO or
|
|
402
|
|
-# distro:DISTRO1,DISTRO2 it will be installed only for those
|
|
|
401
|
+# - If we have the meta-keyword dist:DISTRO or
|
|
|
402
|
+# dist:DISTRO1,DISTRO2 it will be installed only for those
|
|
403
|
403
|
# distros (case insensitive).
|
|
404
|
404
|
function get_packages() {
|
|
405
|
405
|
local file_to_parse="general"
|