|
|
@ -4,7 +4,7 @@ if ! command -v path-wizard > /dev/null 2>&1; then |
|
|
|
read -p "ao-mud is not installed, install now? [y/n]: " choice |
|
|
|
read -p "ao-mud is not installed, install now? [y/n]: " choice |
|
|
|
|
|
|
|
|
|
|
|
if [ "$choice" = "y" ]; then |
|
|
|
if [ "$choice" = "y" ]; then |
|
|
|
SCRIPT_DIR=$(dirname "$0"); eval "cd \"$SCRIPT_DIR\" && pwd" |
|
|
|
SCRIPT_DIR=$( cd ${0%/*} && pwd -P ) |
|
|
|
chmod +x $SCRIPT_DIR/spells/path-wizard |
|
|
|
chmod +x $SCRIPT_DIR/spells/path-wizard |
|
|
|
$SCRIPT_DIR/spells/path-wizard add $SCRIPT_DIR/spells |
|
|
|
$SCRIPT_DIR/spells/path-wizard add $SCRIPT_DIR/spells |
|
|
|
$SCRIPT_DIR/spells/path-wizard add $SCRIPT_DIR/spells/cantrips |
|
|
|
$SCRIPT_DIR/spells/path-wizard add $SCRIPT_DIR/spells/cantrips |
|
|
|