mirror of
https://github.com/rclone/rclone.git
synced 2024-12-04 22:34:48 +01:00
19 lines
344 B
Bash
19 lines
344 B
Bash
|
#!/bin/sh -e
|
||
|
|
||
|
case "$1" in
|
||
|
proftpd)
|
||
|
mkdir -p /etc/proftpd/conf.d/
|
||
|
cp $TRAVIS_BUILD_DIR/.travis/proftpd.conf /etc/proftpd/conf.d/
|
||
|
;;
|
||
|
vsftpd)
|
||
|
cp $TRAVIS_BUILD_DIR/.travis/vsftpd.conf /etc/vsftpd.conf
|
||
|
;;
|
||
|
*)
|
||
|
echo "unknown software: $1"
|
||
|
exit 1
|
||
|
esac
|
||
|
|
||
|
mkdir --mode 0777 -p /var/ftp/incoming
|
||
|
|
||
|
apt-get install -qq "$1"
|