SimpleJaeger/install.sh

16 lines
528 B
Bash

#!/bin/bash
# Define the URL for downloading the simple-jaeger.php file
PLUGIN_URL="https://git.nixc.us/colin/SimpleJaeger/raw/branch/main/wp-content/plugins/simple-jaeger/simple-jaeger.php"
# Define the target directory
TARGET_DIR="wp-content/plugins/simple-jaeger"
# Create the target directory if it doesn't exist
mkdir -p $TARGET_DIR
# Download the simple-jaeger.php file into the target directory
curl -o $TARGET_DIR/simple-jaeger.php $PLUGIN_URL
echo "SimpleJaeger plugin has been installed or updated successfully."