diff options
-rwxr-xr-x | update-po.sh | 6 | ||||
-rwxr-xr-x | update-pot.sh | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/update-po.sh b/update-po.sh index 097ea81..a7f72ec 100755 --- a/update-po.sh +++ b/update-po.sh @@ -18,6 +18,9 @@ set -x GETTEXT_DOMAIN="ayatanawebmail" +cp data/etc/xdg/autostart/ayatana-webmail-autostart.desktop.in data/etc/xdg/autostart/ayatana-webmail-autostart.desktop +cp data/usr/share/applications/ayatana-webmail.desktop.in data/usr/share/applications/ayatana-webmail.desktop + cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~ cd po/ @@ -37,3 +40,6 @@ done cd - 1>/dev/null mv po/${GETTEXT_DOMAIN}.pot~ po/${GETTEXT_DOMAIN}.pot + +rm data/etc/xdg/autostart/ayatana-webmail-autostart.desktop +rm data/usr/share/applications/ayatana-webmail.desktop diff --git a/update-pot.sh b/update-pot.sh index d1a2aae..49f0d37 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -16,13 +16,13 @@ GETTEXT_DOMAIN="ayatanawebmail" -cp data/etc/xdg/autostart/ayatana-webmail-autostart.desktop data/etc/xdg/autostart/ayatana-webmail-autostart.desktop.keep -cp data/usr/share/applications/ayatana-webmail.desktop data/usr/share/applications/ayatana-webmail.desktop.keep +cp data/etc/xdg/autostart/ayatana-webmail-autostart.desktop.in data/etc/xdg/autostart/ayatana-webmail-autostart.desktop +cp data/usr/share/applications/ayatana-webmail.desktop.in data/usr/share/applications/ayatana-webmail.desktop ./setup.py build_i18n 1>/dev/null 2>/dev/null -mv data/etc/xdg/autostart/ayatana-webmail-autostart.desktop.keep data/etc/xdg/autostart/ayatana-webmail-autostart.desktop -mv data/usr/share/applications/ayatana-webmail.desktop.keep data/usr/share/applications/ayatana-webmail.desktop +rm data/etc/xdg/autostart/ayatana-webmail-autostart.desktop +rm data/usr/share/applications/ayatana-webmail.desktop rm ./build -Rf rm ./data/usr/share/locale/ -Rf |