fix strip component
This commit is contained in:
parent
adf595af24
commit
d1fdcd4347
@ -102,7 +102,7 @@ LATEST_FILE=$(curl -s "https://download.seadrive.org/" | \
|
||||
sort -r | head -n1 | awk '{print $2}')
|
||||
|
||||
$STD su - seafile -c "wget -qc https://s3.eu-central-1.amazonaws.com/download.seadrive.org/$LATEST_FILE"
|
||||
$STD su - seafile -c "tar -xzf $LATEST_FILE -C /opt/seafile/"
|
||||
$STD su - seafile -c "tar -xzf $LATEST_FILE --strip-components=1 -C /opt/seafile/"
|
||||
$STD su - seafile -c "expect <<EOF
|
||||
spawn bash /opt/seafile/setup-seafile-mysql.sh
|
||||
expect {
|
||||
|
Loading…
x
Reference in New Issue
Block a user