diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-11 19:02:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-11 19:02:18 +0100 |
commit | d20b59f5b32fec29809795ac18b615cd0bac9798 (patch) | |
tree | 44338b4a1a61f3604137aede79cf1ffd0f955505 /src/backend/libvasile.sh | |
parent | 5211a7173d780490e6f4410886e73e5a1e64e72d (diff) |
day 2 : makepkg functions split complete
Diffstat (limited to 'src/backend/libvasile.sh')
-rw-r--r-- | src/backend/libvasile.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/backend/libvasile.sh b/src/backend/libvasile.sh new file mode 100644 index 0000000..ee2e357 --- /dev/null +++ b/src/backend/libvasile.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +if [[ -f /lib/gentoo/functions.sh ]] ; then + source /lib/gentoo/functions.sh +else + echo "I won't do that without sys-apps/gentoo-functions" + exit 1 +fi + +if [[ -f /usr/lib/vasile/jailvars.sh ]] ; then + source /usr/lib/vasile/jailvars.sh +else + source jailvars.sh +fi + +if [[ -f /usr/lib/vasile/jailcmds.sh ]] ; then + source /usr/lib/vasile/jailcmds.sh +else + source jailvars.sh +fi + +if [[ -f /usr/lib/vasile/jailfuncs.sh ]] ; then + source /usr/lib/vasile/jailfuncs.sh +else + source jailfuncs.sh +fi |