mirror of
https://github.com/andwati/dotfiles.git
synced 2026-10-18 11:02:53 +00:00
10 lines
314 B
Bash
10 lines
314 B
Bash
sudo apt update && sudo apt upgrade -y
|
|
sudo apt dist-upgrade -y
|
|
sudo apt autoremove -y
|
|
sudo apt autoclean -y
|
|
|
|
# this fixes .ssh and .gnupg directory permissions
|
|
find ~/.gnupg -type d -exec chmod 700 {} \;
|
|
find ~/.gnupg -type f -exec chmod 600 {} \;
|
|
chmod 600 ~/.ssh/* && chmod 700 ~/.ssh && chmod 644 ~/.ssh/*.pub
|