summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/helper.sh
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
commit24a60eb2731228e05ffa0ed9dade0d6b56f9785f (patch)
tree5968c5be0899eeba7cbc294a12b39e165a7be4a7 /libre/parabolaweb-utils/helper.sh
parent6785d5420eb83d9990842bd812458ad862c0d9e7 (diff)
parent946d64a4f98b36d70189c65010e666a597ad7aab (diff)
downloadabslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.gz
abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.bz2
abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.zip
merging...
Diffstat (limited to 'libre/parabolaweb-utils/helper.sh')
-rw-r--r--libre/parabolaweb-utils/helper.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/libre/parabolaweb-utils/helper.sh b/libre/parabolaweb-utils/helper.sh
deleted file mode 100644
index ce8638e7e..000000000
--- a/libre/parabolaweb-utils/helper.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-_mksource() {
- pushd "${startdir:-.}" >/dev/null
- if [[ -z $_DO_NOT_RUN_MKSOURCE && $0 =~ ^makepkg ]]; then
- local flags=(-o)
- (( EUID )) || flags+=(--asroot)
- _DO_NOT_RUN_MKSOURCE=true "${0}" "${flags[@]}"
- fi
- popd >/dev/null
-}
-
-_get_depends() {
- _mksource 1>&2
- if [[ -f "${srcdir:-${startdir:-.}/src}/parabolaweb/requirements_prod.txt" ]]; then
- pushd "${srcdir:-src}" >/dev/null
- < parabolaweb/requirements_prod.txt sed -r \
- -e 's/.*/\L&/' -e 's/==/>=/' \
- -e 's/^(python2?-)?/python2-/' \
- -e 's/python2-django/django/'
- popd >/dev/null
- fi
-}
-
-_get_depends_nover() {
- _get_depends | sed 's/[<>=].*//'
-}