mirror of
https://gitlab.com/JKANetwork/jka-toolkit.git
synced 2026-02-20 20:11:32 +01:00
fixes
This commit is contained in:
Binary file not shown.
@@ -15,6 +15,14 @@ fi
|
|||||||
#This option is for make if case insensitive
|
#This option is for make if case insensitive
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
|
|
||||||
|
#Reading packages to install/remove.. (The rest of $) , it has to be done before the option echo, logically
|
||||||
|
packages=$2
|
||||||
|
for (( i=3; i<=$#; i++ ))
|
||||||
|
do
|
||||||
|
valtmp=$(echo $* | cut -f$i -d" ")
|
||||||
|
packages="$packages $valtmp"
|
||||||
|
done
|
||||||
|
|
||||||
#echo for every option
|
#echo for every option
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*h*)
|
*h*)
|
||||||
@@ -61,14 +69,6 @@ fi
|
|||||||
#Knowing the SO with facter
|
#Knowing the SO with facter
|
||||||
SO=$(facter osfamily)
|
SO=$(facter osfamily)
|
||||||
|
|
||||||
#Reading packages to install/remove.. (The rest of $)
|
|
||||||
packages=$2
|
|
||||||
for (( i=3; i<=$#; i++ ))
|
|
||||||
do
|
|
||||||
valtmp=$(echo $* | cut -f$i -d" ")
|
|
||||||
packages="$packages $valtmp"
|
|
||||||
done
|
|
||||||
|
|
||||||
#Check if is dnf in RedHat, or apt in Debian, new tools
|
#Check if is dnf in RedHat, or apt in Debian, new tools
|
||||||
if [[ $SO = "RedHat" && ! -f /usr/bin/dnf ]];then
|
if [[ $SO = "RedHat" && ! -f /usr/bin/dnf ]];then
|
||||||
yum install dnf
|
yum install dnf
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = jka-toolkit
|
pkgbase = jka-toolkit
|
||||||
pkgdesc = Set of scripts to optimize the daily work in linux shell (jkazip and apw)
|
pkgdesc = Set of scripts to optimize the daily work in linux shell (jkazip and apw)
|
||||||
pkgver = 0.2.4
|
pkgver = 0.2.5
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://proyecto.jkanetwork.com
|
url = http://proyecto.jkanetwork.com
|
||||||
install = jka-toolkit.install
|
install = jka-toolkit.install
|
||||||
arch = any
|
arch = any
|
||||||
@@ -15,7 +15,7 @@ pkgbase = jka-toolkit
|
|||||||
provides = apw
|
provides = apw
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz
|
source = https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz
|
||||||
md5sums = 530beded245bba22227860edd52bd6b7
|
md5sums = 2f2d776a4201f0628cae8c0ea0e12d22
|
||||||
|
|
||||||
pkgname = jka-toolkit
|
pkgname = jka-toolkit
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Maintainer: JKA Network (JoseluCross, Kprkpr, Yukialba) <contacto@jkanetwork.com>
|
# Maintainer: JKA Network (JoseluCross, Kprkpr, Yukialba) <contacto@jkanetwork.com>
|
||||||
pkgname=jka-toolkit
|
pkgname=jka-toolkit
|
||||||
pkgver=0.2.5
|
pkgver=0.2.5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Set of scripts to optimize the daily work in linux shell (jkazip and apw)"
|
pkgdesc="Set of scripts to optimize the daily work in linux shell (jkazip and apw)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://proyecto.jkanetwork.com"
|
url="http://proyecto.jkanetwork.com"
|
||||||
@@ -11,7 +11,7 @@ provides=('jkazip' 'apw')
|
|||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
source=(https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz)
|
source=(https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz)
|
||||||
md5sums=('530beded245bba22227860edd52bd6b7')
|
md5sums=('2f2d776a4201f0628cae8c0ea0e12d22')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
|
|||||||
Reference in New Issue
Block a user