install-on-tails.bash: create empty .{netrc,curlrc}

This commit is contained in:
Aminda Suomalainen 2024-08-14 07:26:22 +03:00
parent be0f664bcc
commit a848c90ee1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -76,6 +76,11 @@ git config --global gpg.ssh.allowedSignersFile $PERSISTDIR/src/codeberg.org/Amin
cp $SHELL_THINGS_REPO/conf/gitconfig $PERSISTDOTFILESDIR/.gitconfig cp $SHELL_THINGS_REPO/conf/gitconfig $PERSISTDOTFILESDIR/.gitconfig
ln -nsfv $PERSISTDOTFILESDIR/.gitconfig $HOME/ ln -nsfv $PERSISTDOTFILESDIR/.gitconfig $HOME/
# Ensure existence of netrc & curlrc for easing git over https
touch $PERSISTDOTFILESDIR/.{netrc,curlrc}
ln -nsfv $PERSISTDOTFILESDIR/.netrc $HOME/
ln -nsfv $PERSISTDOTFILESDIR/.curlrc $HOME/
# Hack for directories expecting it to work, although only for this boot # Hack for directories expecting it to work, although only for this boot
ln -nsfv $SHELL_THINGS_REPO $HOME/.shell-things ln -nsfv $SHELL_THINGS_REPO $HOME/.shell-things