provision.pl - fixing strange problem with relative directories when installing ngircd

This commit is contained in:
gashapwn 2021-03-07 02:41:48 +00:00
parent 821e0ab9d4
commit 4be664be38

View File

@ -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/*");