[go: nahoru, domu]

Skip to content

Commit

Permalink
Git fixxed moved to babun-packages main install
Browse files Browse the repository at this point in the history
  • Loading branch information
kamm committed Jan 25, 2022
1 parent a23ba69 commit 100e679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 1 addition & 15 deletions babun-core/plugins/git/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,4 @@ set -e -f -o pipefail
source "/usr/local/etc/babun.instance"
source "$babun_tools/script.sh"

typeset -i installed_version
installed_version=$(echo "$1" || echo "0")

# COMPATIBILITY FIXES
# INSTALLED_VERSION=1
if [[ "$installed_version" -le 1 ]]; then
if [[ -f ~/.pact/pact.repo ]]; then
echo "Compatibility fixes [git] version=[$installed_version]"
echo "Installing missing gettext and libsasl2"
pact install gettext || echo "Failed to install gettext"
pact install libsasl2 || echo "Failed to install libsasl2"
else
echo "Compatibility fixes [git] version=[$installed_version] skipped. Not running in update mode!"
fi
fi
# NO LOGIC
4 changes: 3 additions & 1 deletion babun-core/plugins/git/start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
source "/usr/local/etc/babun.instance"
source "$babun_tools/script.sh"
source "$babun_tools/git.sh"
source "$babun_tools/git.sh"

# NO LOGIC

0 comments on commit 100e679

Please sign in to comment.