Updted repository address
This commit is contained in:
parent
258defa318
commit
635e16d8eb
|
@ -1,3 +1,4 @@
|
|||
# Check if this is a adequate fish version
|
||||
if test (fish --version | string match -ar '\d' | string join '') -lt 300
|
||||
set_color red
|
||||
echo 'This plugin is compatible with fish version 3.0.0 or above, please update before trying to use it' 1>&2
|
||||
|
@ -22,7 +23,7 @@ function dep_plugin -d "Install or uninstall a fish plugin"
|
|||
| not string match -qr '^(Error$|Could not install)'
|
||||
end
|
||||
end
|
||||
dep_plugin https://gitlab.com/argonautica/feedback
|
||||
dep_plugin https://git.disroot.org/lusiadas/feedback
|
||||
|
||||
# Parse arguments
|
||||
if argparse -n dependency 'r/remove' 'n/name=' 'f/force=+' 'N/npm=+' 'p/pip=+' 'P/plugin=+' -- $argv 2>&1 | read err
|
||||
|
@ -31,7 +32,7 @@ if argparse -n dependency 'r/remove' 'n/name=' 'f/force=+' 'N/npm=+' 'p/pip=+' '
|
|||
end
|
||||
|
||||
# Declare variables
|
||||
set -l --append _flag_plugin https://gitlab.com/argonautica/contains_opts
|
||||
set -l --append _flag_plugin https://git.disroot.org/lusiadas/contains_opts
|
||||
set -l failed
|
||||
set -l verify
|
||||
set -l install
|
||||
|
@ -43,7 +44,7 @@ and command groups | string match -qe sudo
|
|||
and type -qf sudo
|
||||
and set -l sudo sudo
|
||||
|
||||
# Check for a default package manager
|
||||
# Find the default package manager
|
||||
if type -qf apt
|
||||
set verify "dpkg -s"
|
||||
set install 'apt install -y'
|
||||
|
@ -235,4 +236,4 @@ if test "$dependencies"
|
|||
end
|
||||
end
|
||||
functions -e dep_plugin
|
||||
test -z "$failed"
|
||||
test -z "$failed"
|
||||
|
|
Loading…
Reference in New Issue