vcarbs

Cem's Auto Rice Bootstrapping Scripts, for Void Linux
git clone git://git.ckyln.com/vcarbs.git
Log | Files | Refs | README | LICENSE

commit 1ae872e8506cd11ca2299cd659e7f967eea3e0c6
parent a8bbc04b2764aadc09dd029fe172c583241c0729
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 13 Nov 2019 01:25:20 +0300

fix umask issue with default sudo on void

Diffstat:
Mcarbs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/carbs b/carbs @@ -208,11 +208,16 @@ postinstall() { } +umaskfix() { + out "Setting default umask to 022" + printf "Defaults umask = 022\\n" >> /etc/sudoers.d/carbs +} if [ $interactive = 1 ]; then welcomepage sudo -V >/dev/null 2>&1 || sudouser $USER fi +umaskfix sudo xbps-install -y -Su || die 'Could not refresh xbps database' sudo xbps-install -y git curl fzf installcsv