Changeset ca56903 for debian


Ignore:
Timestamp:
May 28, 2013 10:50:51 AM (7 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
378c5a0d, 8fb6529, eb051d6
Parents:
4092eba6
Message:

parameterize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/patches/0001-path-substitution.patch

    r4092eba6 rca56903  
    140140 
    141141 showsetusermesg()  {
    142 -    echo "`gettext 'Please edit i2prouter and set the variable RUN_AS_USER'`."
    143 +    echo "`gettext 'Please edit /etc/default/i2p and set the variable RUN_AS_USER'`."
     142-    echo "`gettext \"Please edit $0 and set the variable RUN_AS_USER\"`."
     143+    echo "`gettext "Please edit /etc/default/i2p and set the variable RUN_AS_USER"`."
    144144 }
    145145 
     
    149149         showsetusermesg
    150150         echo
    151 -        echo "`gettext 'To run as root anyway, edit i2prouter and set ALLOW_ROOT=true.'`"
    152 +        echo "`gettext 'To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true.'`"
     151-        echo "`gettext \"To run as root anyway, edit $0 and set ALLOW_ROOT=true.\"`"
     152+        echo "`gettext \"To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true.\"`"
    153153         exit 1
    154154     fi
    155155 }
    156 @@ -1858,24 +1806,9 @@
     156@@ -1858,23 +1806,9 @@
    157157             status
    158158             ;;
     
    175175-        'remove' | 'uninstall')
    176176-            removedaemon
    177 -            ;;
    178177+        'install' | 'remove' | 'uninstall')
    179178+            echo "Use \"dpkg-reconfigure i2p\" to configure the initscript."
    180179+            exit 1
     180             ;;
    181181 
    182182         'dump')
    183              checkUser "" "$COMMAND"
    184183--- a/installer/resources/runplain.sh
    185184+++ b/installer/resources/runplain.sh
     
    326325 
    327326 #: ../i2prouter:1788
    328 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
    329 -msgstr "Bitte bearbeite i2prouter und setze die Variable RUN_AS_USER"
     327-msgid "Please edit $0 and set the variable RUN_AS_USER"
     328-msgstr "Bitte bearbeite $0 und setze die Variable RUN_AS_USER"
    330329+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    331330+msgstr "Bitte bearbeite /etc/default/i2p und setze die Variable RUN_AS_USER"
     
    336335 
    337336 #: ../i2prouter:1796
    338 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
     337-msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
    339338+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    340339 msgstr ""
    341 -"Um I2P trotzdem als root auszuführen bearbeite i2prouter und setze ALLOW_ROOT=true."
     340-"Um I2P trotzdem als root auszuführen bearbeite $0 und setze ALLOW_ROOT=true."
    342341+"Um I2P trotzdem als root auszuführen bearbeite /etc/default/i2p und setze ALLOW_ROOT=true."
    343342--- a/installer/resources/locale/po/messages_en.po
     
    347346 
    348347 #: ../i2prouter:1788
    349 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
     348-msgid "Please edit $0 and set the variable RUN_AS_USER"
    350349+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    351350 msgstr ""
     
    356355 
    357356 #: ../i2prouter:1796
    358 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
     357-msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
    359358+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    360359 msgstr ""
     
    365364 
    366365 #: ../i2prouter:1780
    367 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
     366-msgid "Please edit $0 and set the variable RUN_AS_USER"
    368367+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    369368 msgstr ""
     
    374373 
    375374 #: ../i2prouter:1788
    376 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
     375-msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
    377376+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    378377 msgstr ""
     
    383382 
    384383 #: ../i2prouter:1780
    385 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
     384-msgid "Please edit $0 and set the variable RUN_AS_USER"
    386385+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    387386 msgstr ""
     
    392391 
    393392 #: ../i2prouter:1788
    394 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
     393-msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
    395394+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    396395 msgstr ""
     
    401400 
    402401 #: ../i2prouter:1780
    403 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
     402-msgid "Please edit $0 and set the variable RUN_AS_USER"
    404403+msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    405404 msgstr ""
     
    410409 
    411410 #: ../i2prouter:1788
    412 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
     411-msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
    413412+msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    414413 msgstr ""
    415 --- a/installer/resources/locale/po/messages_sv.po
    416 +++ b/installer/resources/locale/po/messages_sv.po
    417 @@ -187,13 +187,13 @@
    418  msgstr "Fråga efter en Java thread dump vid drift."
    419  
    420  #: ../i2prouter:1780
    421 -msgid "Please edit i2prouter and set the variable RUN_AS_USER"
    422 -msgstr "Var god ändra i2prouter och sätt variabeln RUN_AS_USER"
    423 +msgid "Please edit /etc/default/i2p and set the variable RUN_AS_USER"
    424 +msgstr "Var god ändra /etc/default/i2p och sätt variabeln RUN_AS_USER"
    425  
    426  #: ../i2prouter:1785
    427  msgid "Running I2P as the root user is *not* recommended."
    428  msgstr "Att köra I2P som användare root är *inte* rekommenderat."
    429  
    430  #: ../i2prouter:1788
    431 -msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
    432 -msgstr "För att köra som root iallafall, ändra i2prouter och sätt ALLOW_ROOT=true"
    433 +msgid "To run as root anyway, edit /etc/default/i2p and set ALLOW_ROOT=true."
    434 +msgstr "För att köra som root iallafall, ändra /etc/default/i2p och sätt ALLOW_ROOT=true"
Note: See TracChangeset for help on using the changeset viewer.