feat: 🔒Added update script

This commit is contained in:
2025-10-15 17:52:35 +01:00
parent 195d7f3b06
commit 8beaf9fe92
3 changed files with 40 additions and 1 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
# !bin/bash
echo Doing some updates!
echo Checking for dnf updates...
sudo dnf update -y
echo Checking for flatpak updates...
sudo flatpak update -y
echo Doing a quick clean up...
sudo dnf clean all
echo Checking if we need a restart...
sudo dnf needs-restarting
+21
View File
@@ -1062,3 +1062,24 @@ logout
: 1760546429:0;nvim dotfiles/zsh/.zshrc
: 1760546457:0;cd dotfiles
: 1760546460:0;git add .
: 1760546462:0;git commit
: 1760546504:0;git push
: 1760546516:0;sudo flatpak update -y
: 1760546524:0;updatepls
: 1760546541:0;nvim .
: 1760546642:0;flatpak -h
: 1760546658:0;dnf -h
: 1760546722:0;dnf clean
: 1760546731:0;clean --help
: 1760546736:0;dnf clean --help
: 1760546754:0;dnf clean cache_types all
: 1760546764:0;dnf clean all
: 1760546788:0;dnf needs_restarting
: 1760546807:0;sudo dnf needs_restarting
: 1760546819:0;sudo dnf needs-restarting
: 1760546914:0;flatpak --help
: 1760546961:0;chmod +x updater.sh
: 1760546966:0;./updater.sh
: 1760547002:0;nvim .
: 1760547043:0;updatepls
: 1760547151:0;git add .
+1 -1
View File
@@ -32,6 +32,6 @@ alias ..='cd ..'
alias la='ls -la'
alias wake_up='cd source/ai_web && ./run.sh & ~/AppImages/LM-Studio.AppImage &'
alias updatepls='sudo dnf update -y && sudo flatpak update -y'
alias updatepls='~/dotfiles/updater.sh'
fastfetch