provision.pl - fixing strange problem with relative directories when installing ngircd
This commit is contained in:
parent
821e0ab9d4
commit
4be664be38
@ -185,6 +185,7 @@ system("echo 'permit nopass :irc as _ngircd' >> /etc/doas.conf");
|
|||||||
|
|
||||||
# Copy over our conf file to /etc
|
# Copy over our conf file to /etc
|
||||||
# and set permissions
|
# and set permissions
|
||||||
|
chdir "$INST_DIR/$REPO_DIR";
|
||||||
system("chmod 750 /etc/ngircd");
|
system("chmod 750 /etc/ngircd");
|
||||||
system("cp ./perl-script/conf/ngircd.conf /etc/ngircd/ngircd.conf");
|
system("cp ./perl-script/conf/ngircd.conf /etc/ngircd/ngircd.conf");
|
||||||
system("chmod -R 660 /etc/ngircd/*");
|
system("chmod -R 660 /etc/ngircd/*");
|
||||||
|
Loading…
Reference in New Issue
Block a user