aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-10-29 22:17:38 +0300
committerawy <awy@awy.one>2024-10-29 22:17:38 +0300
commit2bf0dcbefb0e855750bcafbd35ab0809e1082f81 (patch)
tree699a2323a7970a57f63d6714a29de6d0a9543fea
parentac96c924ae68840a38139c14d68de6775144cde4 (diff)
fixes
-rwxr-xr-xrice.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/rice.sh b/rice.sh
index 3bd1f67..1a0ba91 100755
--- a/rice.sh
+++ b/rice.sh
@@ -42,10 +42,13 @@ rm -rf hyprdots
doas -u $PERMUSER mkdir -p /home/$PERMUSER/.ssh
doas -u $PERMUSER mkdir -p /home/$PERMUSER/.gnupg
doas -u $PERMUSER touch /home/$PERMUSER/.gnupg/gpg-agent.conf
-echo 'enable-ssh-support' > /home/$PERMUSER/.gnupg/gpg-agent.conf
-echo 'pinentry-program /usr/bin/pinentry-qt' >> /home/$PERMUSER/.gnupg/gpg-agent.conf
-echo 'default-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf
-echo 'max-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf
+
+cat <<EOL >> /home/$PERMUSER/.gnupg/gpg-agent.conf
+enable-ssh-support
+pinentry-program /usr/bin/pinentry-qt
+default-cache-ttl 34560000
+max-cache-ttl 34560000
+EOL
chsh -s /bin/zsh $PERMUSER
@@ -59,5 +62,6 @@ EOL
sed -i -e "/^#"Color"/s/^#//" /etc/pacman.conf
sed -i -e '/Color/a\ILoveCandy' /etc/pacman.conf
+sed -i -e "/^#"DisableSandbox"/s/^#//" /etc/pacman.conf
echo "Your linux is riced!"