-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install
executable file
·59 lines (43 loc) · 917 Bytes
/
Install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/csh
#
# Install
#
cd `dirname $0` && source ./Configuration
# Create server side include file for ftp url
echo "$FTPURL" > includes/ftp_url.html
# Create symlink for consistent web links
# remove
#rm -f qcr.html
#ln -s qcr.shtml qcr.html
#
# permissions
#
chmod 664 Configuration.* HISTORY *.html
chmod 775 *.csh */*.py */*.sql Install
#
# directories
#
if ( ! -d ${QCREPORTDIR} ) then
mkdir -p ${QCREPORTDIR}
endif
if ( ! -d ${QCOUTPUTDIR} ) then
mkdir -p ${QCOUTPUTDIR}
endif
if ( ! -d ${QCLOGSDIR} ) then
mkdir -p ${QCLOGSDIR}
endif
if ( ! -d ${QCARCHIVEDIR} ) then
mkdir -p ${QCARCHIVEDIR}
endif
if ( ! -d ${QCALLELEARCHIVE} ) then
mkdir -p ${QCALLELEARCHIVE}
endif
if ( ! -d ${QCGOARCHIVE} ) then
mkdir -p ${QCGOARCHIVE}
endif
if ( ! -d ${QCGXDARCHIVE} ) then
mkdir -p ${QCGXDARCHIVE}
endif
cd pwi
rm -rf GXD_IndexOverviewUber.py
ln -s GXD_IndexOverview.py GXD_IndexOverviewUber.py