many updates to change BINDIR to FEISTY_MEOW_BINARIES. expands on previous changes...
[feisty_meow.git] / scripts / cgi / prepare_cgi_bin_for_apache.sh
1 #!/bin/bash
2
3 # this script needs to run as root.  it will copy all the important
4 # assets for cgi into the right places.
5
6 echo "antiquated approach, we now do this with links instead."
7 exit 1
8
9 cd ~/feisty_meow/scripts/cgi
10 cp call_version_utils.sh cgi_cat.pl cgi_display.pl cgi_nechung.cgi cgi_show_file_date.sh \
11     count.cgi nechung.cgi \
12   /usr/lib/cgi-bin
13
14 cd ~/feisty_meow/scripts/database
15 cp *show_stripper.sh *movie_seeker.sh *movie_stripper.sh \
16   /usr/lib/cgi-bin
17
18 cd ~/feisty_meow/scripts/files
19 cp show_directory_listing.sh \
20   /usr/lib/cgi-bin
21
22 cd ~/feisty_meow/infobase
23 cp fortunes.dat \
24   /usr/lib/cgi-bin
25
26 cp $FEISTY_MEOW_BINARIES/*nechung* /usr/lib/cgi-bin
27
28 chmod a+x /usr/lib/cgi-bin/*
29
30 /usr/lib/cgi-bin/nechung /usr/lib/cgi-bin/fortunes.dat
31