diff setup @ 128:66a1d79c4161

Cleaned up unused functions.
author Edho Prima Arief <edho@myconan.net>
date Thu, 27 Oct 2011 16:29:39 +0700
parents a7484f2c9616
children 70928bbbd6cb fcef92b3f37f
line wrap: on
line diff
--- a/setup	Thu Oct 27 16:23:23 2011 +0700
+++ b/setup	Thu Oct 27 16:29:39 2011 +0700
@@ -85,22 +85,6 @@
   esac
 }
 
-linker() {
-  echo "Creating symlink: ${1} => ~/${2}"
-  [ -f "${1}" ] && rm "${PWD}/$"
-  ln -fs "${PWD}/${1}" "${HOME}/${2}"
-}
-
-_uninstall_init() {
-  script="${1}"
-  scripttmp="${1}.new.tmp"
-  hashdata="${2}"
-  if [ -f "${script}" ]; then
-    grep -v "${hashdata}" "${script}" > "${scripttmp}"
-    mv "${scripttmp}" "${script}"
-  fi
-}
-
 _help() {
   cat <<EOF
 Usage: ${0} [install|uninstall]