10 lines
273 B
Bash
10 lines
273 B
Bash
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
# Copy the htaccess file
|
||
|
mkdir -p /var/www/localstore/images
|
||
|
mkdir -p /var/www/localstore/smwconfig
|
||
|
cp /var/www/html/images/* /var/www/localstore/images
|
||
|
chown -R www-data:www-data /var/www/localstore
|
||
|
chown -R www-data:www-data /var/www/data
|