summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-installfiles.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index 516bd1c..4c8be7d 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -48,7 +48,8 @@ main()
[ -e "${file}" ] || continue
file="${file#dest}"
mkdir -p "${pkg}.data/${file%/*}"
- ln "${PWD}/dest/${file}" "${pkg}.data/${file}"
+ # TODO: If file, ln file. If dir, recursively mkdir and ln.
+ mv "${PWD}/dest/${file}" "${pkg}.data/${file}"
done
done <"../${pkg}.pkg/files"
done