From eb051d64c7dc50b11af23eae2944c48f01a6dc61 Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Tue, 2 Jul 2013 18:08:52 +0000 Subject: [PATCH] disapproval of revision 'fd10b04ca3a6cf66e669bfad32d3011ed9f7e33c' --- debian/patches/0001-path-substitution.patch | 57 +++++++++++++------- installer/resources/i2prouter | 4 +- installer/resources/locale/po/messages_de.po | 8 +-- installer/resources/locale/po/messages_en.po | 4 +- installer/resources/locale/po/messages_fr.po | 4 +- installer/resources/locale/po/messages_it.po | 4 +- installer/resources/locale/po/messages_ru.po | 4 +- installer/resources/locale/po/messages_sv.po | 8 +-- 8 files changed, 57 insertions(+), 36 deletions(-) diff --git a/debian/patches/0001-path-substitution.patch b/debian/patches/0001-path-substitution.patch index 8d44711f5b..2f15402ad6 100644 --- a/debian/patches/0001-path-substitution.patch +++ b/debian/patches/0001-path-substitution.patch @@ -139,8 +139,8 @@ Debian wrapper.config to try to prevent confusion. } showsetusermesg() { -- echo "`gettext \"Please edit $0 and set the variable RUN_AS_USER\"`." -+ echo "`gettext "Please edit /etc/default/i2p and set the variable RUN_AS_USER"`." +- echo "`gettext 'Please edit i2prouter and set the variable RUN_AS_USER'`." ++ echo "`gettext 'Please edit /etc/default/i2p and set the variable RUN_AS_USER'`." } checkifstartingasroot() { @@ -148,12 +148,12 @@ Debian wrapper.config to try to prevent confusion. echo "`gettext 'Running I2P as the root user is *not* recommended.'`" showsetusermesg echo -- echo "`gettext \"To run as root anyway, edit $0 and set ALLOW_ROOT=true.\"`" -+ echo "`gettext \"To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true.\"`" +- echo "`gettext 'To run as root anyway, edit i2prouter and set ALLOW_ROOT=true.'`" ++ echo "`gettext 'To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true.'`" exit 1 fi } -@@ -1858,23 +1806,9 @@ +@@ -1858,24 +1806,9 @@ status ;; @@ -174,12 +174,13 @@ Debian wrapper.config to try to prevent confusion. - - 'remove' | 'uninstall') - removedaemon +- ;; + 'install' | 'remove' | 'uninstall') + echo "Use \"dpkg-reconfigure i2p\" to configure the initscript." + exit 1 - ;; 'dump') + checkUser "" "$COMMAND" --- a/installer/resources/runplain.sh +++ b/installer/resources/runplain.sh @@ -11,8 +11,8 @@ @@ -324,8 +325,8 @@ Debian wrapper.config to try to prevent confusion. msgstr "Falls gestartet, fordere einen Java Thread dump an" #: ../i2prouter:1788 --msgid "Please edit $0 and set the variable RUN_AS_USER" --msgstr "Bitte bearbeite $0 und setze die Variable RUN_AS_USER" +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +-msgstr "Bitte bearbeite i2prouter und setze die Variable RUN_AS_USER" +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" +msgstr "Bitte bearbeite /etc/default/i2p und setze die Variable RUN_AS_USER" @@ -334,10 +335,10 @@ Debian wrapper.config to try to prevent confusion. msgstr "I2P als root Benutzer auszuführen ist *nicht* empfehlenswert." #: ../i2prouter:1796 --msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." msgstr "" --"Um I2P trotzdem als root auszuführen bearbeite $0 und setze ALLOW_ROOT=true." +-"Um I2P trotzdem als root auszuführen bearbeite i2prouter und setze ALLOW_ROOT=true." +"Um I2P trotzdem als root auszuführen bearbeite /etc/default/i2p und setze ALLOW_ROOT=true." --- a/installer/resources/locale/po/messages_en.po +++ b/installer/resources/locale/po/messages_en.po @@ -345,7 +346,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1788 --msgid "Please edit $0 and set the variable RUN_AS_USER" +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" msgstr "" @@ -354,7 +355,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1796 --msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." msgstr "" --- a/installer/resources/locale/po/messages_fr.po @@ -363,7 +364,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1780 --msgid "Please edit $0 and set the variable RUN_AS_USER" +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" msgstr "" @@ -372,7 +373,7 @@ Debian wrapper.config to try to prevent confusion. "Faire fonctionner I2P en tant qu'utilisateur root n'est *pas* recommandé." #: ../i2prouter:1788 --msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." msgstr "" --- a/installer/resources/locale/po/messages_it.po @@ -381,7 +382,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1780 --msgid "Please edit $0 and set the variable RUN_AS_USER" +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" msgstr "" @@ -390,7 +391,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1788 --msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." msgstr "" --- a/installer/resources/locale/po/messages_ru.po @@ -399,7 +400,7 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1780 --msgid "Please edit $0 and set the variable RUN_AS_USER" +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" msgstr "" @@ -408,6 +409,26 @@ Debian wrapper.config to try to prevent confusion. msgstr "" #: ../i2prouter:1788 --msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." msgstr "" +--- a/installer/resources/locale/po/messages_sv.po ++++ b/installer/resources/locale/po/messages_sv.po +@@ -187,13 +187,13 @@ + msgstr "Fråga efter en Java thread dump vid drift." + + #: ../i2prouter:1780 +-msgid "Please edit i2prouter and set the variable RUN_AS_USER" +-msgstr "Var god ändra i2prouter och sätt variabeln RUN_AS_USER" ++msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER" ++msgstr "Var god ändra /etc/default/i2p och sätt variabeln RUN_AS_USER" + + #: ../i2prouter:1785 + msgid "Running I2P as the root user is *not* recommended." + msgstr "Att köra I2P som användare root är *inte* rekommenderat." + + #: ../i2prouter:1788 +-msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +-msgstr "För att köra som root iallafall, ändra i2prouter och sätt ALLOW_ROOT=true" ++msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true." ++msgstr "För att köra som root iallafall, ändra /etc/default/i2p och sätt ALLOW_ROOT=true" diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 6da8dae143..99349a258f 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -1785,7 +1785,7 @@ showUsage() { } showsetusermesg() { - echo "`gettext \"Please edit $0 and set the variable RUN_AS_USER\"`." + echo "`gettext 'Please edit i2prouter and set the variable RUN_AS_USER'`." } checkifstartingasroot() { @@ -1793,7 +1793,7 @@ checkifstartingasroot() { echo "`gettext 'Running I2P as the root user is *not* recommended.'`" showsetusermesg echo - echo "`gettext \"To run as root anyway, edit $0 and set ALLOW_ROOT=true.\"`" + echo "`gettext 'To run as root anyway, edit i2prouter and set ALLOW_ROOT=true.'`" exit 1 fi } diff --git a/installer/resources/locale/po/messages_de.po b/installer/resources/locale/po/messages_de.po index dd78dfc5eb..ea493e5406 100644 --- a/installer/resources/locale/po/messages_de.po +++ b/installer/resources/locale/po/messages_de.po @@ -192,14 +192,14 @@ msgid "Request a Java thread dump if running." msgstr "Falls gestartet, fordere einen Java Thread dump an" #: ../i2prouter:1788 -msgid "Please edit $0 and set the variable RUN_AS_USER" -msgstr "Bitte bearbeite $0 und setze die Variable RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgstr "Bitte bearbeite i2prouter und setze die Variable RUN_AS_USER" #: ../i2prouter:1793 msgid "Running I2P as the root user is *not* recommended." msgstr "I2P als root Benutzer auszuführen ist *nicht* empfehlenswert." #: ../i2prouter:1796 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." msgstr "" -"Um I2P trotzdem als root auszuführen bearbeite $0 und setze ALLOW_ROOT=true." +"Um I2P trotzdem als root auszuführen bearbeite i2prouter und setze ALLOW_ROOT=true." diff --git a/installer/resources/locale/po/messages_en.po b/installer/resources/locale/po/messages_en.po index 97b9123622..f5707d7ff8 100644 --- a/installer/resources/locale/po/messages_en.po +++ b/installer/resources/locale/po/messages_en.po @@ -185,7 +185,7 @@ msgid "Request a Java thread dump if running." msgstr "" #: ../i2prouter:1788 -msgid "Please edit $0 and set the variable RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" msgstr "" #: ../i2prouter:1793 @@ -193,5 +193,5 @@ msgid "Running I2P as the root user is *not* recommended." msgstr "" #: ../i2prouter:1796 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." msgstr "" diff --git a/installer/resources/locale/po/messages_fr.po b/installer/resources/locale/po/messages_fr.po index 55a2c057ec..92d70bedeb 100644 --- a/installer/resources/locale/po/messages_fr.po +++ b/installer/resources/locale/po/messages_fr.po @@ -187,7 +187,7 @@ msgid "Request a Java thread dump if running." msgstr "" #: ../i2prouter:1780 -msgid "Please edit $0 and set the variable RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" msgstr "" #: ../i2prouter:1785 @@ -196,5 +196,5 @@ msgstr "" "Faire fonctionner I2P en tant qu'utilisateur root n'est *pas* recommandé." #: ../i2prouter:1788 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." msgstr "" diff --git a/installer/resources/locale/po/messages_it.po b/installer/resources/locale/po/messages_it.po index b3b1eea936..e309b3dca3 100644 --- a/installer/resources/locale/po/messages_it.po +++ b/installer/resources/locale/po/messages_it.po @@ -187,7 +187,7 @@ msgid "Request a Java thread dump if running." msgstr "" #: ../i2prouter:1780 -msgid "Please edit $0 and set the variable RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" msgstr "" #: ../i2prouter:1785 @@ -195,5 +195,5 @@ msgid "Running I2P as the root user is *not* recommended." msgstr "" #: ../i2prouter:1788 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." msgstr "" diff --git a/installer/resources/locale/po/messages_ru.po b/installer/resources/locale/po/messages_ru.po index 1fe035426b..b0f43136f5 100644 --- a/installer/resources/locale/po/messages_ru.po +++ b/installer/resources/locale/po/messages_ru.po @@ -188,7 +188,7 @@ msgid "Request a Java thread dump if running." msgstr "" #: ../i2prouter:1780 -msgid "Please edit $0 and set the variable RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" msgstr "" #: ../i2prouter:1785 @@ -196,5 +196,5 @@ msgid "Running I2P as the root user is *not* recommended." msgstr "" #: ../i2prouter:1788 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." msgstr "" diff --git a/installer/resources/locale/po/messages_sv.po b/installer/resources/locale/po/messages_sv.po index 8c89bb310f..11d7a311f2 100644 --- a/installer/resources/locale/po/messages_sv.po +++ b/installer/resources/locale/po/messages_sv.po @@ -187,13 +187,13 @@ msgid "Request a Java thread dump if running." msgstr "Fråga efter en Java thread dump vid drift." #: ../i2prouter:1780 -msgid "Please edit $0 and set the variable RUN_AS_USER" -msgstr "Var god ändra $0 och sätt variabeln RUN_AS_USER" +msgid "Please edit i2prouter and set the variable RUN_AS_USER" +msgstr "Var god ändra i2prouter och sätt variabeln RUN_AS_USER" #: ../i2prouter:1785 msgid "Running I2P as the root user is *not* recommended." msgstr "Att köra I2P som användare root är *inte* rekommenderat." #: ../i2prouter:1788 -msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true." -msgstr "För att köra som root iallafall, ändra $0 och sätt ALLOW_ROOT=true" +msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true." +msgstr "För att köra som root iallafall, ändra i2prouter och sätt ALLOW_ROOT=true" -- GitLab