summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_fetch_clean.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_fetch_clean.subr')
-rw-r--r--subr/pkg_fetch_clean.subr21
1 files changed, 0 insertions, 21 deletions
diff --git a/subr/pkg_fetch_clean.subr b/subr/pkg_fetch_clean.subr
deleted file mode 100644
index 52797068..00000000
--- a/subr/pkg_fetch_clean.subr
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# set +o errexit -o noglob -o nounset is assumed.
-#
-
-pkg_fetch_clean() {
- local _dname="";
-
- if [ -n "${PKG_URLS_GIT:-}" ]; then
- if [ -n "${PKG_SUBDIR:-}" ]\
- && [ "${PKG_SUBDIR}" != "${PKG_URLS_GIT%%=*}" ]; then
- rtl_fileop rm "${PKG_SUBDIR}";
- fi;
- for _dname in ${PKG_URLS_GIT}; do
- _dname="${_dname%%=*}"; rtl_fileop rm "${_dname}";
- done;
- elif [ -n "${PKG_SUBDIR}" ]; then
- rtl_fileop rm "${PKG_SUBDIR}";
- fi; return 0;
-};
-
-# vim:filetype=sh