mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +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
|
||||
info "Installing file $file with zypper"
|
||||
sudo zypper refresh
|
||||
sudo zypper install -y "$file"
|
||||
sudo zypper install --allow-unsigned-rpm -y "$file"
|
||||
elif [ -x "$(command -v dnf)" ]; then
|
||||
info "Installing file $file with dnf"
|
||||
sudo dnf install -y --refresh "$file"
|
||||
|
@ -118,7 +118,7 @@ install() {
|
|||
sudo yum install -y "$file"
|
||||
else
|
||||
info "Installing file $file with rpm"
|
||||
sudo rpm -i "$file"
|
||||
sudo rpm -U -v --force "$file"
|
||||
fi
|
||||
;;
|
||||
Darwin)
|
||||
|
|
Loading…
Reference in a new issue