@@ -31,22 +31,22 cleanup (){ | |||
|
31 | 31 | |
|
32 | 32 | chroot_exec() { |
|
33 | 33 | # Exec command in chroot |
|
34 |
LANG=C LC_ALL=C DEBIAN_FRONTEND=noninteractive chroot "${R}" "$ |
|
|
34 | LANG=C LC_ALL=C DEBIAN_FRONTEND=noninteractive chroot "${R}" "$@" | |
|
35 | 35 | } |
|
36 | 36 | |
|
37 | 37 | as_nobody() { |
|
38 | 38 | # Exec command as user nobody |
|
39 |
sudo -E -u nobody LANG=C LC_ALL=C "$ |
|
|
39 | sudo -E -u nobody LANG=C LC_ALL=C "$@" | |
|
40 | 40 | } |
|
41 | 41 | |
|
42 | 42 | install_readonly() { |
|
43 | 43 | # Install file with user read-only permissions |
|
44 |
install -o root -g root -m 644 "$ |
|
|
44 | install -o root -g root -m 644 "$@" | |
|
45 | 45 | } |
|
46 | 46 | |
|
47 | 47 | install_exec() { |
|
48 | 48 | # Install file with root exec permissions |
|
49 |
install -o root -g root -m 744 "$ |
|
|
49 | install -o root -g root -m 744 "$@" | |
|
50 | 50 | } |
|
51 | 51 | |
|
52 | 52 | use_template () { |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant