1
0
mirror of https://gitlab.com/JKANetwork/jka-toolkit.git synced 2026-02-24 14:03:50 +01:00

Merge branch 'hotfix' of gitlab.com:JKANetwork/jka-toolkit into hotfix

This commit is contained in:
JoseluCross
2016-06-22 16:52:25 +02:00
3 changed files with 10 additions and 10 deletions

View File

@@ -9,15 +9,15 @@ echo "installer has to run as root / with sudo"
exit exit
fi fi
cp jka-toolkit/{apw,jkazip,gitd} /usr/bin/ cp jka-toolkit/{apw,jkazip,gitdit} /usr/bin/
chmod +x /usr/bin/apw chmod +x /usr/bin/apw
chmod +x /usr/bin/jkazip chmod +x /usr/bin/jkazip
chmod +x /usr/bin/gitd chmod +x /usr/bin/gitdit
#Languages #Languages
cp jka-toolkit/i18n/apw/es.mo /usr/share/locale/es/LC_MESSAGES/apw.mo cp jka-toolkit/i18n/apw/es.mo /usr/share/locale/es/LC_MESSAGES/apw.mo
cp jka-toolkit/i18n/jkazip/es.mo /usr/share/locale/es/LC_MESSAGES/jkazip.mo cp jka-toolkit/i18n/jkazip/es.mo /usr/share/locale/es/LC_MESSAGES/jkazip.mo
#manpages #manpages
cp jka-toolkit/manpages/apw.1 /usr/share/man/man1/ cp manpages/apw.1.gz /usr/share/man/man1/
gzip /usr/share/man/man1 sudo mandb -q
echo "Finalizado" echo "Finalizado"
echo "Finished" echo "Finished"

View File

@@ -10,7 +10,7 @@
export TEXTDOMAIN='apw' export TEXTDOMAIN='apw'
export TEXTDOMAINDIR='/usr/share/locale' export TEXTDOMAINDIR='/usr/share/locale'
#Version variable #Version variable
version="1.8.1" version="1.9"
#This option is for make if case insensitive #This option is for make if case insensitive
shopt -s nocasematch shopt -s nocasematch

View File

@@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
VERSION="0.1" VERSION="0.1.3"
gitopt=`dialog --stdout --scrollbar --menu "gitd, git dialog" 0 0 6 p "Descargar actualizaciones del git (Hacer pull)" s "Subir actualizaciones al git (Hacer push)" c "Descargar un nuevo git (Hacer clone)" b "Cambiar de branch/rama (Hacer checkout)" m "Unir ramas (Hacer merge)"` gitopt=`dialog --stdout --scrollbar --menu "gitdit - Git DIalog inTerface" 0 0 6 p "Descargar actualizaciones del git (Hacer pull)" s "Subir actualizaciones al git (Hacer push)" c "Descargar un nuevo git (Hacer clone)" b "Cambiar de branch/rama (Hacer checkout)" m "Unir ramas (Hacer merge)"`
case $gitopt in case $gitopt in
"p") git pull;; "p") git pull;;
"s") commit=`dialog --stdout --inputbox "Cambios (texto commit)" 10 50` "s") commit=`dialog --stdout --inputbox "Cambios (texto commit)" 10 50 "changes"`
if [[ -z $commit ]];then if [[ -z $commit ]];then
commit="changes" commit="changes"
fi fi
@@ -22,7 +22,7 @@ case $gitopt in
until [[ $gitbusing && $gitbmerge ]] until [[ $gitbusing && $gitbmerge ]]
do do
gitbusing=`dialog --stdout --inputbox "Rama actual" 10 60` gitbusing=`dialog --stdout --inputbox "Rama actual" 10 60`
gitbmerge=`dialog --stdout --inputbox "Rama con la que unir (la final,normalmente master)" 10 60` gitbmerge=`dialog --stdout --inputbox "Rama con la que unir (la final,normalmente master)" 10 60 "master"`
done done
git checkout $gitbmerge git checkout $gitbmerge
git merge $gitbusing git merge $gitbusing