fix install script

This commit is contained in:
ObamaTheLlama114
2024-07-28 17:41:06 -05:00
parent c6bffd9a27
commit 70065d6e49
3 changed files with 13 additions and 4 deletions

View File

@ -2,6 +2,12 @@
## Steps to install
1. Install [rustup](https://rustup.rs/) if its not already installed
2. Update to the latest version of rust if you dont already have it with `rustup update`
3. Install the cli tool with `curl https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/install.sh | sh`
1. Verify that you have the latest version of rust installed
- Install [rust](rustup.rs) or update rust to the latest version with `rustup update`
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>`

View File

@ -1,4 +1,5 @@
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/mcomplete.bash -O /bin/mapcomplete
sudo chmod 755 /bin/map
curl https://raw.githubusercontent.com/goauthentik/authentik/main/website/scripts/docsmg/mcomplete.bash >> ~/.zshrc
echo "source mapcomplete" >> ~./zshrc

View File

@ -1,3 +1,5 @@
#!/bin/bash
_completions () {
if [[ -z "${MIGRATE_PATH}" ]];
then MIGRATE_PATH="./";