summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-05 22:28:14 +0200
committerDave Reisner <d@falconindy.com>2011-06-16 20:19:12 +0200
commit3efc8b39b126c6eaaedcc1585a17105a5ab67a8f (patch)
treec198dc675ab631234b56c36f2748ba7dbbe6129c
parent5a8e654ebea3dbd4e6157ae0f33f6c452f72c802 (diff)
downloadmkinitcpio-3efc8b39b126c6eaaedcc1585a17105a5ab67a8f.tar.gz
mkinitcpio-3efc8b39b126c6eaaedcc1585a17105a5ab67a8f.tar.xz
functions: remove add_symlink2
This is never used by anything in the official repos. Kill it with fire. Signed-off-by: Dave Reisner <d@falconindy.com>
-rw-r--r--functions10
1 files changed, 0 insertions, 10 deletions
diff --git a/functions b/functions
index 9aeb462..dc20566 100644
--- a/functions
+++ b/functions
@@ -119,16 +119,6 @@ add_symlink ()
#fail quietly
}
-add_symlink2 ()
-{
- add_dir $(get_dirname ${1})
- add_dir $(get_dirname ${2})
- if ! grep -q "slink ${1} " "${FILELIST}"; then
- msg " adding link ${1} -> ${2}"
- echo "slink ${1} ${2} 777 0 0" >> "${FILELIST}"
- fi
-}
-
add_file ()
{
local fil lnk dir dest