Update seafile-install.sh
This commit is contained in:
parent
96132644c0
commit
8547fae024
@ -95,7 +95,6 @@ useradd seafile
|
|||||||
mkdir -p /home/seafile
|
mkdir -p /home/seafile
|
||||||
chown seafile: /home/seafile
|
chown seafile: /home/seafile
|
||||||
chown seafile: /opt/seafile
|
chown seafile: /opt/seafile
|
||||||
#!/bin/bash
|
|
||||||
LATEST_FILE=$(curl -s "https://download.seadrive.org/" | \
|
LATEST_FILE=$(curl -s "https://download.seadrive.org/" | \
|
||||||
xmlstarlet sel -N s3="http://s3.amazonaws.com/doc/2006-03-01/" \
|
xmlstarlet sel -N s3="http://s3.amazonaws.com/doc/2006-03-01/" \
|
||||||
-t -m "//s3:Contents[s3:Key[starts-with(text(),'seafile-server')]]" \
|
-t -m "//s3:Contents[s3:Key[starts-with(text(),'seafile-server')]]" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user