Skip to content

Commit

Permalink
Remove refactored apts from this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Sep 17, 2024
1 parent b243cf0 commit 09282c9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tabs/applications-setup/mybash-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ installDepend() {
pacman)
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm bash bash-completion tar bat tree unzip fontconfig git
;;
apt|nala)
apt)
$ESCALATION_TOOL "$PACKAGER" install -y bash bash-completion tar bat tree unzip fontconfig git
;;
dnf)
Expand Down
2 changes: 1 addition & 1 deletion tabs/applications-setup/neovim-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setupNeovim() {
pacman)
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm neovim ripgrep fzf python-virtualenv luarocks go shellcheck git
;;
apt|nala)
apt)
$ESCALATION_TOOL "$PACKAGER" install -y neovim ripgrep fd-find python3-venv luarocks golang-go shellcheck git
;;
dnf)
Expand Down
2 changes: 1 addition & 1 deletion tabs/system-setup/1-compile-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ installDepend() {
fi
$AUR_HELPER -S --needed --noconfirm "$DEPENDENCIES"
;;
apt|nala)
apt-get|nala)
COMPILEDEPS='build-essential'
$ESCALATION_TOOL "$PACKAGER" update
$ESCALATION_TOOL dpkg --add-architecture i386
Expand Down
2 changes: 1 addition & 1 deletion tabs/system-setup/4-remove-snaps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ removeSnaps() {
pacman)
$ESCALATION_TOOL ${PACKAGER} -Rns snapd
;;
apt|nala)
apt-get|nala)
$ESCALATION_TOOL ${PACKAGER} autoremove --purge snapd
if [ "$ID" = ubuntu ]; then
$ESCALATION_TOOL apt-mark hold snapd
Expand Down
4 changes: 2 additions & 2 deletions tabs/system-setup/system-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fastUpdate() {
fi
;;

apt|nala)
apt-get|nala)
$ESCALATION_TOOL apt-get update
if ! command_exists nala; then
$ESCALATION_TOOL apt-get install -y nala || { printf "%b\n" "${YELLOW}Falling back to apt-get${RC}"; PACKAGER="apt-get"; }
Expand Down Expand Up @@ -63,7 +63,7 @@ fastUpdate() {
updateSystem() {
printf "%b\n" "${GREEN}Updating system${RC}"
case ${PACKAGER} in
apt|nala)
nala|apt-get)
$ESCALATION_TOOL "${PACKAGER}" update -y
$ESCALATION_TOOL "${PACKAGER}" upgrade -y
;;
Expand Down

0 comments on commit 09282c9

Please sign in to comment.