first check-in of feisty meow codebase. many things broken still due to recent
[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 cd ~/yeti/scripts/cgi
7 cp call_version_utils.sh cgi_cat.pl cgi_display.pl cgi_nechung.cgi cgi_show_file_date.sh \
8     count.cgi nechung.cgi \
9   /usr/lib/cgi-bin
10
11 cd ~/yeti/scripts/database
12 cp *show_stripper.sh *movie_seeker.sh *movie_stripper.sh \
13   /usr/lib/cgi-bin
14
15 cd ~/yeti/scripts/files
16 cp show_directory_listing.sh \
17   /usr/lib/cgi-bin
18
19 cd ~/yeti/database
20 cp fortunes.dat \
21   /usr/lib/cgi-bin
22
23 cp ~fred/yeti/bin/$(arch)/*nechung* /usr/lib/cgi-bin
24
25 chmod a+x /usr/lib/cgi-bin/*
26
27 /usr/lib/cgi-bin/nechung /usr/lib/cgi-bin/fortunes.dat
28