clic-rpi-image/stage3/00-install-yunohost/00-run.sh

12 lines
238 B
Bash
Raw Normal View History

2018-03-08 17:53:23 +00:00
#!/bin/bash -e
on_chroot << EOF
cd /tmp/
wget -O install_yunohost https://install.yunohost.org/stretch
chmod +x /tmp/install_yunohost
./install_yunohost -a
rm -f /etc/ssh/ssh_host_*
apt-get clean
find /var/log -type f -exec rm {} \;
2018-03-08 17:53:23 +00:00
EOF