summaryrefslogtreecommitdiff
path: root/src/backend/f_import.sh
blob: f8dbcf33b5089b00d0e4a89b05eee5420ac22d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env bash

if [[ -f /lib/gentoo/functions.sh ]] ; then
	source /lib/gentoo/functions.sh
else
	echo "Cannot import Gentoo functions, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/v_jail.sh ]] ; then
	source /usr/lib/vasile/v_jail.sh
else
	echo "Cannot import jail variables, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/c_jail.sh ]] ; then
	source /usr/lib/vasile/c_jail.sh
else
	echo "Cannot import jail commands, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/f_generic.sh ]] ; then
	source /usr/lib/vasile/f_generic.sh
else
	echo "Cannot import generic functions, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/f_makepkg.sh ]] ; then
	source /usr/lib/vasile/f_makepkg.sh
else
	echo "Cannot import makepkg functions, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/f_makeiso.sh ]] ; then
	source /usr/lib/vasile/f_makeiso.sh
else
	echo "Cannot import makeiso functions, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/f_modeswitch.sh ]] ; then
	source /usr/lib/vasile/f_modeswitch.sh
else
	echo "Cannot import modeswitch functions, I will abort now!"
	exit 1
fi

if [[ -f /usr/lib/vasile/f_help.sh ]] ; then
	source /usr/lib/vasile/f_help.sh
else
	echo "Cannot import help functions, I will abort now!"
	exit 1
fi