generalize, a lot
[webi-installers/.git] / _example / install_safe_copy.bash
diff --git a/_example/install_safe_copy.bash b/_example/install_safe_copy.bash
deleted file mode 100644 (file)
index c52b018..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-# For installing from the extracted package tmp directory
-pkg_install() {
-    pushd "$WEBI_TMP" 2>&1 >/dev/null
-
-        if [ -n "$(command -v rsync 2>/dev/null | grep rsync)" ]; then
-            rsync -Krl ./xmpl*/ "$pkg_src/" 2>/dev/null
-        else
-            cp -Hr ./xmpl*/* "$pkg_src/" 2>/dev/null
-            cp -Hr ./xmpl*/.* "$pkg_src/" 2>/dev/null
-        fi
-        rm -rf ./xmpl*
-
-    popd 2>&1 >/dev/null
-}