Detect tox repo
This commit is contained in:
parent
b6d72a3b2c
commit
71c45c7585
|
@ -9276,9 +9276,9 @@ function create_upgrade_script {
|
|||
echo 'systemctl restart gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo 'systemctl daemon-reload' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
fi
|
||||
if [ -d $INSTALL_DIR/toxcore ]; then
|
||||
echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo '# Tox node' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
|
||||
echo '# update tox node' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo "if [ -d $INSTALL_DIR/toxcore ]; then" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo " cd $INSTALL_DIR/toxcore" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo ' git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo ' git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
|
@ -9286,7 +9286,7 @@ function create_upgrade_script {
|
|||
echo ' ./configure --enable-daemon' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo ' make' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo ' make install' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
fi
|
||||
echo 'fi' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
|
||||
echo '# update email encryption script' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
echo "if [ -d $INSTALL_DIR/gpgit ]; then" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||
|
|
Loading…
Reference in New Issue