1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-awstats-1.2/root/etc/e-smith/events/actions/awstats-upgrade mezzanine_patched_smeserver-awstats-1.2/root/etc/e-smith/events/actions/awstats-upgrade |
2 |
--- smeserver-awstats-1.2/root/etc/e-smith/events/actions/awstats-upgrade 2007-04-05 22:59:44.000000000 -0600 |
3 |
+++ mezzanine_patched_smeserver-awstats-1.2/root/etc/e-smith/events/actions/awstats-upgrade 2007-07-05 04:36:53.000000000 -0600 |
4 |
@@ -1,13 +1,20 @@ |
5 |
#!/bin/bash |
6 |
|
7 |
cp -a /var/www/awstats/icon/* /etc/e-smith/web/panels/manager/html/awstats/icon |
8 |
- |
9 |
cp -a /var/www/awstats/awstats.pl /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
10 |
cp -a /var/www/awstats/lang /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
11 |
cp -a /var/www/awstats/lib /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
12 |
cp -a /var/www/awstats/plugins /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
13 |
chmod -R 770 /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
14 |
|
15 |
+#cd /etc/e-smith/web/panels/manager/html/awstats/ |
16 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/os /etc/e-smith/web/panels/manager/html/awstats/os |
17 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/flags /etc/e-smith/web/panels/manager/html/awstats/flags |
18 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/browser /etc/e-smith/web/panels/manager/html/awstats/browser |
19 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/clock /etc/e-smith/web/panels/manager/html/awstats/clock |
20 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/mime /etc/e-smith/web/panels/manager/html/awstats/mime |
21 |
+ln -sf /etc/e-smith/web/panels/manager/html/awstats/icon/other /etc/e-smith/web/panels/manager/html/awstats/other |
22 |
+ |
23 |
echo "AWStats upgrade complete" |
24 |
|
25 |
|