From 76776cbfcf5192b0a8968825a6431cd17a3f1c04 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 28 Apr 2013 09:36:56 -0400 Subject: oh-installfiles: Don't skip symbolic links. --- (limited to 'src') diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh index 9e3a7fa..8538d8f 100644 --- a/src/oh-installfiles.sh +++ b/src/oh-installfiles.sh @@ -52,7 +52,7 @@ main() while IFS="${files_ifs}" read -r pattern; do for file in "${dir}/"${pattern}; do - [ -e "${file}" ] || continue + [ -e "${file}" -o -L "${file}" ] || continue file="${file#${dir}}" mkdir -p "${pkg}.data/${file%/*}" # TODO: If file, ln file. If dir, recursively mkdir and ln. -- cgit v0.9.1