From 4be664be3855ce23544c51da38b96bb05b805982 Mon Sep 17 00:00:00 2001 From: gashapwn Date: Sun, 7 Mar 2021 02:41:48 +0000 Subject: [PATCH] provision.pl - fixing strange problem with relative directories when installing ngircd --- perl-script/provision.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-script/provision.pl b/perl-script/provision.pl index 3744e82..2be5365 100644 --- a/perl-script/provision.pl +++ b/perl-script/provision.pl @@ -185,6 +185,7 @@ system("echo 'permit nopass :irc as _ngircd' >> /etc/doas.conf"); # Copy over our conf file to /etc # and set permissions +chdir "$INST_DIR/$REPO_DIR"; system("chmod 750 /etc/ngircd"); system("cp ./perl-script/conf/ngircd.conf /etc/ngircd/ngircd.conf"); system("chmod -R 660 /etc/ngircd/*");