diff options
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -79,6 +79,7 @@ add_device () fi } +# what the hell does this do? add_symlink () { local fil dest dir @@ -95,6 +96,16 @@ add_symlink () #fail quietly } +add_symlink2 () +{ + add_dir $(dirname ${1}) + add_dir $(dirname ${2}) + if ! grep -q "slink ${1} " "${FILELIST}" 2>&1 >/dev/null; then + msg " adding link ${1} -> ${2}" + echo "slink ${1} ${2} 777 0 0" >> "${FILELIST}" + fi +} + add_file () { local fil lnk dir dest |