commit 4c24618a17f097ae846092ebb38abdfe320cb25f
parent 5d1620b7525da5789d00a06d4e13ddde15f362e3
Author: Cem Keylan <cem@ckyln.com>
Date: Sun, 10 Nov 2019 21:09:23 +0300
change sudoers.d location
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/carbs b/carbs
@@ -132,7 +132,7 @@ installcsv() {\
sudouser() {\
warning "You don't seem to have sudo installed\nCarbs will now install sudo and add you\nto sudoers"
su -c "xbps-install -Su && xbps-install -y sudo && \
- printf '$1 ALL=(ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/new"
+ printf '$1 ALL=(ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/carbs"
}
dotfilesinstall() {