tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit d92017c1a41300d28694741352090579f7e661ab
parent fc3c2a9255aa34e34bc7801d66327b1358445e38
Author: rbckman <rbckman@localhost.localdomain>
Date:   Wed,  5 Jun 2019 15:30:57 +0300

run install script for every update

Diffstat:
Mmods/tarina-upload.sh | 2+-
Mtarina.py | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/mods/tarina-upload.sh b/mods/tarina-upload.sh @@ -4,4 +4,4 @@ # $2 filename PATH=`pwd` -/usr/bin/scp -P 13337 $2.mp4 rob@tarina.org:/srv/www/tarina.org/public_html/videos/$1.mp4 +/usr/bin/scp -P 13337 $2.mp4 tarina@tarina.org:/home/tarina/videos/$1.mp4 diff --git a/tarina.py b/tarina.py @@ -342,6 +342,7 @@ def update(tarinaversion, tarinavername): time.sleep(4) writemessage('Updating...') run_command('git -C ' + tarinafolder + ' pull') + run_command('sudo ' + tarinafolder + '/install.sh') writemessage('Update done, will now reboot Tarina') waitforanykey() writemessage('Hold on rebooting Tarina...')