This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ $(id -u) != 0 ]; then | |
| printf "This script must be run as root.\n" | |
| exit 1 | |
| fi | |
| #TODO: change these variables to be the apache user and a group consisting of all users who | |
| # need write access | |
| drupal_path=${1%/} |
NewerOlder