##// END OF EJS Templates
a
Unknown -
r413:07b62d73fcbc
parent child
Show More
@@ -31,22 +31,22 cleanup (){
31
31
32 chroot_exec() {
32 chroot_exec() {
33 # Exec command in chroot
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 as_nobody() {
37 as_nobody() {
38 # Exec command as user nobody
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 install_readonly() {
42 install_readonly() {
43 # Install file with user read-only permissions
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 install_exec() {
47 install_exec() {
48 # Install file with root exec permissions
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 use_template () {
52 use_template () {
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant