mirror of
https://github.com/casjaysdevdocker/wordpress
synced 2025-01-30 12:34:32 -05:00
🗃️ modified: files/run.sh 🗃️
This commit is contained in:
parent
a990f61a0a
commit
02e7af7420
@ -37,7 +37,9 @@ fi
|
||||
|
||||
if [ -d "/var/lib/wordpress/devel" ]; then
|
||||
echo "[i] Initializing plugin development dir"
|
||||
for d in $(ls /var/lib/wordpress/devel); do
|
||||
plugins="$(ls /var/lib/wordpress/devel)"
|
||||
[ -d "/usr/html/wp-content/plugins" ] || mkdir -p "/usr/html/wp-content/plugins"
|
||||
for d in $plugins; do
|
||||
ln -sf "/var/lib/wordpress/devel/$d" "/usr/html/wp-content/plugins/$d"
|
||||
done
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user