11 lines
181 B
Bash
Executable File
11 lines
181 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
tar xvf fancy-index.tar.gz -C /var/www/
|
|
|
|
rm -fr /var/www/fancy-index/.git
|
|
|
|
|
|
cp -vf conf/autoindex.conf /etc/httpd/conf.d/autoindex.conf
|
|
|
|
systemctl reload httpd
|