From d059d7d70d92833317774737791bc7a28a48239c Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sat, 16 Jul 2016 17:15:22 +0200 Subject: [PATCH] sudo auto apw --- jka-toolkit/apw | 5 ++-- jka-toolkit/i18n/apw/apw.pot | 54 +++++++++++++++++++---------------- jka-toolkit/i18n/apw/es.mo | Bin 4740 -> 4722 bytes jka-toolkit/i18n/apw/es.po | 46 ++++++++++++++--------------- 4 files changed, 55 insertions(+), 50 deletions(-) diff --git a/jka-toolkit/apw b/jka-toolkit/apw index d778da4..455ec83 100755 --- a/jka-toolkit/apw +++ b/jka-toolkit/apw @@ -10,7 +10,7 @@ export TEXTDOMAIN='apw' export TEXTDOMAINDIR='/usr/share/locale' #Version variable -version="1.9" +version="1.9.1" #This option is for make if case insensitive shopt -s nocasematch @@ -44,7 +44,8 @@ esac #Force sudo uid=$(/usr/bin/id -u) if [[ $uid != "0" ]];then -echo "$(gettext "apw has to run as root, please run as root/with sudo")" +echo "$(gettext "apw has to run as root, running using sudo")" +sudo ${0} $@ exit fi diff --git a/jka-toolkit/i18n/apw/apw.pot b/jka-toolkit/i18n/apw/apw.pot index ff021f6..00d2d13 100644 --- a/jka-toolkit/i18n/apw/apw.pot +++ b/jka-toolkit/i18n/apw/apw.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-15 20:02+0200\n" +"POT-Creation-Date: 2016-07-16 17:12+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -82,94 +82,98 @@ msgstr "" msgid "apw - A Packager Wrapper" msgstr "" -#: apw:39 apw:320 +#: apw:39 apw:321 msgid "Use apw -h for help" msgstr "" #: apw:47 -msgid "apw has to run as root, please run as root/with sudo" -msgstr "" - -#: apw:52 -msgid "It's the first run of the program, we need a thing before continue" +msgid "apw has to run as root, running using sudo" msgstr "" #: apw:53 -msgid "What, or in what is based your Linux?" +msgid "It's the first run of the program, we need a thing before continue" msgstr "" #: apw:54 +msgid "What, or in what is based your Linux?" +msgstr "" + +#: apw:55 msgid "" "(The answer will be recorded in /etc/apw.conf, if you want to reset apw, " "delete this file)" msgstr "" -#: apw:93 +#: apw:94 msgid "No package specified, aborting" msgstr "" -#: apw:110 +#: apw:111 msgid "Updating system" msgstr "" -#: apw:125 +#: apw:126 msgid "Force updating system" msgstr "" -#: apw:132 apw:135 apw:150 +#: apw:133 apw:136 apw:151 msgid "Not supported on your distribution. Doing -U instead" msgstr "" -#: apw:154 apw:167 +#: apw:155 apw:168 msgid "You are going to install %s and dependencies" msgstr "" -#: apw:179 apw:235 +#: apw:180 apw:236 msgid "Not supported on your distribution. Doing -I instead" msgstr "" -#: apw:183 apw:197 +#: apw:184 apw:198 msgid "You are going to reinstall %s" msgstr "" -#: apw:193 apw:208 +#: apw:194 apw:209 msgid "Not supported on your distribution. Reconfiguring instead" msgstr "" -#: apw:212 apw:224 +#: apw:213 +msgid "You are going to remove %s\\n" +msgstr "" + +#: apw:225 msgid "You are going to remove %s" msgstr "" -#: apw:239 apw:250 +#: apw:240 apw:251 msgid "Removing %s along with his dependencies that are not more in use" msgstr "" -#: apw:247 apw:259 apw:292 apw:316 +#: apw:248 apw:260 apw:293 apw:317 msgid "Not supported on your distribution" msgstr "" -#: apw:256 +#: apw:257 msgid "Not supported on your distribution. Doing -Rd instead" msgstr "" -#: apw:262 +#: apw:263 msgid "Cleaning package manager" msgstr "" -#: apw:281 +#: apw:282 msgid "" "Cleaning system from dependencies that are not in use (BE CAREFUL, ONLY " "ADVANCED)" msgstr "" -#: apw:295 +#: apw:296 msgid "Searching %s" msgstr "" -#: apw:306 +#: apw:307 msgid "Installing files: %s" msgstr "" -#: apw:319 +#: apw:320 msgid "Invalid option especified" msgstr "" diff --git a/jka-toolkit/i18n/apw/es.mo b/jka-toolkit/i18n/apw/es.mo index 1281a0f411f3b14d68ad027cb93bf6ac243314da..e069c2b94629103b91ff2504c514617fbaeff92a 100644 GIT binary patch delta 371 zcmXBOJ4*vW6o%n%7r_KgG^PmRg$P+AiU^9VNCM)eGXzqIg^jr&QP_yd)+sc-5DR-D zogi*y;V-bVGYAs>33gifj@!&L=R3ohbLD(z9&%QDQBn|<&MoN!cd3gb(k$L!*7R{7 z-|+|+Mx_#V(ByA8jZRFe;5KHkhXs7W8Jvtuhv=ete;rp_2VCw6=5c6DO5qZk1$MBA zWi%u(Or77mb|HJ1qIE~EK)57)7rSP3`1B}fuHBQy1iW|2?K z;}344+pXJEmecLnYnFm1dtx|t;d@@)J4yRZ&fqJ08A;VnYZbqB>{T12|1|w-Lx0oY BHDmw) delta 389 zcmXBOze_?<7{>AET2NA1+ThTy3uz4vf+aQ>WHc&5Llm@J%t*L(