Rev 889 | Rev 7235 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !if $job2=deposit and $wims_deposit!=$empty \ |
||
3 | and / notin $wims_deposit and .. notin $wims_deposit |
||
4 | !sh mkdir -p $wims_home/$Docdir/$doc/files\ |
||
5 | mv $wims_home/$wims_sesdir/user-deposit $wims_home/$Docdir/$doc/files/$wims_deposit\ |
||
6 | cd $wims_home/$wims_sesdir\ |
||
7 | mkdir -p getfile\ |
||
8 | cd getfile\ |
||
9 | rm -f doc\ |
||
10 | ln -s $wims_home/$filelink/files doc |
||
11 | !read quota.proc |
||
12 | !if $quota_free<0 |
||
13 | !sh rm -f $wims_home/$Docdir/$doc/files/$wims_deposit |
||
14 | error=quota_file |
||
15 | !endif |
||
16 | !endif |
||
17 | |||
18 | !if erase isin $job2 and .. notin $job2 |
||
19 | erase=!item 2 of $job2 |
||
20 | !sh rm -f $wims_home/$Docdir/$doc/files/$erase |
||
21 | !endif |
||
22 | |||
23 | flist=!filelist $wims_home/$Docdir/$doc/files |
||
24 | flist=!words2items $flist |
||
889 | bpr | 25 | f1=$wims_deposit |
26 | !if $f1 notin $flist or $f1= |
||
27 | f1=!item 1 of $flist |
||
28 | !endif |
||
23 | reyssat | 29 | !read quota.proc |
30 |