[arch-projects] [mkinitcpio][PATCH 07/12] functions: remove add_symlink2

Dave Reisner d at falconindy.com
Thu Jun 9 16:10:01 EDT 2011


This is never used by anything in the official repos. Kill it with
fire.

Signed-off-by: Dave Reisner <d at falconindy.com>
---
 functions |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/functions b/functions
index dba647a..03be8cc 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
-- 
1.7.5.4



More information about the arch-projects mailing list