1#!/bin/sh 2 3SEAFILE_HOME=/var/lib/seafile 4SEAFILE_DEFAULT=$SEAFILE_HOME/default 5 6if [[ ! -d $SEAFILE_DEFAULT/scripts ]]; then 7 cd $SEAFILE_DEFAULT 8 cp -ar /usr/share/seafile/scripts . 9fi