fix install script
This commit is contained in:
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
## Steps to install
|
## Steps to install
|
||||||
|
|
||||||
1. Install [rustup](https://rustup.rs/) if its not already installed
|
1. Verify that you have the latest version of rust installed
|
||||||
2. Update to the latest version of rust if you dont already have it with `rustup update`
|
- Install [rust](rustup.rs) or update rust to the latest version with `rustup update`
|
||||||
3. Install the cli tool with `curl https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/install.sh | sh`
|
2. Install the cli tool with `curl https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/install.sh | sh`
|
||||||
|
|
||||||
|
## Steps to use
|
||||||
|
|
||||||
|
### Adding entries
|
||||||
|
|
||||||
|
Add entries to be moved with `map <MOVE_FROM> <MOVE_TO>`
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
cargo install --git https://github.com/goauthentik/authentik
|
cargo install --git https://github.com/goauthentik/authentik
|
||||||
sudo wget https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/m.bash -O /bin/map
|
sudo wget https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/m.bash -O /bin/map
|
||||||
|
sudo wget https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/mcomplete.bash -O /bin/mapcomplete
|
||||||
sudo chmod 755 /bin/map
|
sudo chmod 755 /bin/map
|
||||||
curl https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/mcomplete.bash >> ~/.zshrc
|
echo "source mapcomplete" >> ~./zshrc
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
_completions () {
|
_completions () {
|
||||||
if [[ -z "${MIGRATE_PATH}" ]];
|
if [[ -z "${MIGRATE_PATH}" ]];
|
||||||
then MIGRATE_PATH="./";
|
then MIGRATE_PATH="./";
|
||||||
|
|||||||
Reference in New Issue
Block a user