Permalink
Browse files

remove pointless hooks for pre and post -install

  • Loading branch information...
1 parent c10d94d commit b5b696b8237b21895a21cde7d3b281f58579f774 @mpapis mpapis committed Aug 2, 2013
Showing with 0 additions and 20 deletions.
  1. +0 −20 core/internal/shell/package/strategies/gnu/functions
@@ -110,10 +110,6 @@ To force it to reinstall, call:\n\tsm ${package_name} package install force\n"
__sm.log.step "${package_name} ${package_version} ~ preinstall"
"${package_name//-/_}_preinstall"
__sm.log.step success
- else
- __sm.log.step "${package_name} ${package_version} ~ preinstall"
- __sm.package.preinstall
- __sm.log.step success
fi
versionedfs add \
@@ -140,10 +136,6 @@ To force it to reinstall, call:\n\tsm ${package_name} package install force\n"
__sm.log.step "${package_name} ${package_version} ~ postinstall"
"${package_name//-/_}_postinstall"
__sm.log.step success
- else
- __sm.log.step "${package_name} ${package_version} ~ postinstall"
- __sm.package.postinstall
- __sm.log.step success
fi
if ! __sm.string.contains.word '__sm.package.update' "${FUNCNAME[*]}"
@@ -349,12 +341,6 @@ __sm.package.gnu.make()
"Compilation of ${package_name} ${package_version} failed! " "$PWD/build.log"
}
-__sm.package.preinstall()
-{
- trace_filter package || set -o xtrace
- true # nothing to be done for now.
-}
-
__sm.package.make.install()
{
trace_filter package || set -o xtrace
@@ -373,12 +359,6 @@ __sm.package.make.install()
"$PWD/make.install.log"
}
-__sm.package.postinstall()
-{
- trace_filter package || set -o xtrace
- true
-}
-
__sm.package.gnu.activate()
{
trace_filter package || set -o xtrace

0 comments on commit b5b696b

Please sign in to comment.