mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix some install options
This commit is contained in:
parent
c58ad29309
commit
edf22a0815
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ install() {
|
||||||
elif [ -x "$(command -v zypper)" ]; then
|
elif [ -x "$(command -v zypper)" ]; then
|
||||||
info "Installing file $file with zypper"
|
info "Installing file $file with zypper"
|
||||||
sudo zypper refresh
|
sudo zypper refresh
|
||||||
sudo zypper install -y "$file"
|
sudo zypper install --allow-unsigned-rpm -y "$file"
|
||||||
elif [ -x "$(command -v dnf)" ]; then
|
elif [ -x "$(command -v dnf)" ]; then
|
||||||
info "Installing file $file with dnf"
|
info "Installing file $file with dnf"
|
||||||
sudo dnf install -y --refresh "$file"
|
sudo dnf install -y --refresh "$file"
|
||||||
|
@ -118,7 +118,7 @@ install() {
|
||||||
sudo yum install -y "$file"
|
sudo yum install -y "$file"
|
||||||
else
|
else
|
||||||
info "Installing file $file with rpm"
|
info "Installing file $file with rpm"
|
||||||
sudo rpm -i "$file"
|
sudo rpm -U -v --force "$file"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
|
|
Loading…
Reference in a new issue