#!/bin/sh # Helper script to run inside the qemu image to sync its # deployed code with that used in this repository. # Assumes that /root/woocommerce-taler has THIS Git # repository checked out. cd ~/woocommerce-taler git pull -4 cd /var/www/wordpress/wp-content/plugins rm -r GNU-Taler-Payment-Gateway daggerhart-openid-connect-generic cp -r /root/woocommerce-taler/plugin/GNU-Taler-Payment-Gateway/ . cp -r /root/woocommerce-taler/daggerhart-openid-connect-generic/ . mkdir GNU-Taler-Payment-Gateway/log chown -R www-data:www-data GNU-Taler-Payment-Gateway/ cd