Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
leebaird committed Oct 29, 2021
1 parent 0dc307c commit 247052e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions misc/rebrand.sh
@@ -0,0 +1,27 @@
#!/bin/bash

echo
echo -n "Enter the location of your folder: "
read -e location

# Check for no answer
if [[ -z $location ]]; then
echo 'No answer.'
echo
exit
fi

# Check for wrong answer
if [ ! $location ]; then
echo 'Wrong location.'
echo
exit
fi

cd $location

sed -i 's|href="https://github.com/leebaird/discover"|href="https://www.acme.org"|g' index.htm
cd pages/
sed -i 's|href="https://github.com/leebaird/discover"|href="https://www.acme.org"|g' *.htm

firefox ../index.htm &

0 comments on commit 247052e

Please sign in to comment.