Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alegarsan11 committed May 28, 2024
1 parent 85710e3 commit 8ce7376
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ sudo chmod -R 775 /usr/share/nftables-frontend/static
sudo chown -R www-data:www-data /usr/share/nftables-frontend/static
FICHERO="/etc/apache2/sites-available/000-default.conf"

if [ -f "$FICHERO" ]; then
rm "$FICHERO"
echo "El fichero $FICHERO ha sido eliminado."
else
echo "El fichero $FICHERO no existe."
fi
FICHERO="/etc/apache2/sites-enabled/000-default.conf"

if [ -f "$FICHERO" ]; then
rm "$FICHERO"
echo "El fichero $FICHERO ha sido eliminado."
Expand Down

0 comments on commit 8ce7376

Please sign in to comment.