Skip to content

Commit

Permalink
Merge pull request #1 from abrik1/main
Browse files Browse the repository at this point in the history
add void linux
  • Loading branch information
IUseDebianBtw authored Jul 16, 2023
2 parents 6e0b67a + 0608da4 commit 4267ffd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ BashUpdater is a compilation of updating bash scripts
| Solus |
| Turbo |
| Ubuntu |
| Void |

-----------------------
### License
Expand Down
38 changes: 38 additions & 0 deletions scripts/LinuxDistros/updateVoid.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash

echo " "
echo " ____ _ _ _ _ _ "
echo "| _ \ | | | | | | | | | | "
echo "| |_) | __ _ ___| |__ | | | |_ __ __| | __ _| |_ ___ _ __ "
echo "| _ < / _ / __| '_ \| | | | _ \ / _ |/ _ |__/ _ \ '__| "
echo "| |_) | (_| \__ \ | | | |__| | |_) | (_| | (_| | || __/ | "
echo "|____/ \__,_|___/_| |_|\____/| .__/ \__,_|\__,_|\__\___|_| "
echo " | | "
echo " |_| "
echo " Void Edition "

# Update xbps repositories and upgrade the system

echo "+---------------------------+"
echo "| |"
echo "| Starting system update... |"
echo "| |"
echo "+----------------- ---------+"
if sudo xbps-install -Su; then

echo "+-------------------------------+"
echo "| |"
echo "| Repository update successful. |"
echo "| |"
echo "+-------------------------------+"

else

echo "+------------------------------------+"
echo "| |"
echo "| Repository update failed. Exiting. |"
echo "| |"
echo "+------------------------------------+"

exit 1
fi

0 comments on commit 4267ffd

Please sign in to comment.