-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
78 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Function to check if running on Ubuntu 24.04 or higher | ||
check_ubuntu_version() { | ||
if [ -f /etc/os-release ]; then | ||
. /etc/os-release | ||
if [ "$ID" = "ubuntu" ]; then | ||
if awk -v ver="$VERSION_ID" 'BEGIN {exit !(ver >= 24.04)}'; then | ||
return 0 | ||
else | ||
echo "Error: Ubuntu version must be 24.04 or higher. Current version: $VERSION_ID" >&2 | ||
return 1 | ||
fi | ||
else | ||
echo "Error: This script must be run on Ubuntu. Current OS: $ID" >&2 | ||
return 1 | ||
fi | ||
else | ||
echo "Error: Unable to determine OS. /etc/os-release file not found." >&2 | ||
return 1 | ||
fi | ||
} | ||
|
||
if ! check_ubuntu_version; then | ||
echo "Script execution failed due to system requirements not being met." >&2 | ||
exit 1 | ||
fi |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sudo apt install -y fzf ripgrep bat eza zoxide plocate btop apache2-utils fd-find | ||
sudo apt install -y fzf ripgrep bat eza zoxide plocate btop apache2-utils fd-find tldr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
sudo apt install -y \ | ||
build-essential pkg-config autoconf bison clang \ | ||
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | ||
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | ||
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev | ||
build-essential pkg-config autoconf bison clang rustc \ | ||
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | ||
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | ||
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev libpq-dev postgresql-client postgresql-client-common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Gum is used for the Omakub commands for tailoring Omakub after the initial install | ||
cd /tmp | ||
GUM_VERSION="0.14.3" # Use known good version | ||
wget -qO gum.deb "https://github.com/charmbracelet/gum/releases/latest/download/gum_${GUM_VERSION}_amd64.deb" | ||
wget -qO gum.deb "https://github.com/charmbracelet/gum/releases/download/v${GUM_VERSION}/gum_${GUM_VERSION}_amd64.deb" | ||
sudo apt-get install -y ./gum.deb | ||
rm gum.deb | ||
cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
sudo echo "Running upgrade migration..." | ||
|
||
# Add rustc and pgsql client libs | ||
source $OMAKUB_PATH/install/terminal/libraries.sh | ||
|
||
# Set name and class for desktop files | ||
source $OMAKUB_PATH/applications/About.sh | ||
source $OMAKUB_PATH/applications/Activity.sh | ||
source $OMAKUB_PATH/applications/Basecamp.sh | ||
source $OMAKUB_PATH/applications/HEY.sh | ||
source $OMAKUB_PATH/applications/Docker.sh | ||
source $OMAKUB_PATH/applications/Neovim.sh | ||
source $OMAKUB_PATH/applications/Omakub.sh | ||
source $OMAKUB_PATH/applications/WhatsApp.sh |