Updted repository address

This commit is contained in:
Abreu 2022-03-17 12:14:02 -03:00
parent 258defa318
commit 635e16d8eb
No known key found for this signature in database
GPG Key ID: 64835466FF55F7E1
1 changed files with 5 additions and 4 deletions

View File

@ -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"