From 3757e77adfe4b69c699b376ead02ef9e5188580c Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Tue, 19 Dec 2023 10:43:45 +0500 Subject: [PATCH] Update --- liveuser/.bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/liveuser/.bashrc b/liveuser/.bashrc index 18a8cbb9..d0f06c80 100644 --- a/liveuser/.bashrc +++ b/liveuser/.bashrc @@ -2,6 +2,12 @@ # ~/.bashrc # +if [ -d "$HOME/.gnupg" ]; then + if [ $(stat -c '%a' "$HOME/.gnupg") -ne 700 ]; then + chmod 700 "$HOME/.gnupg" + fi +fi + # If not running interactively, don't do anything [[ $- != *i* ]] && return @@ -83,3 +89,5 @@ POWERLINE_BASH_SELECT=1 # Advanced command-not-found hook source /usr/share/doc/find-the-command/ftc.bash + +PATH="$PATH:$HOME/.local/bin/"