mirror of
https://gitlab.com/JKANetwork/jka-toolkit.git
synced 2026-02-16 01:51: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
|
||||
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
|
||||
case "$1" in
|
||||
*h*)
|
||||
@@ -61,14 +69,6 @@ fi
|
||||
#Knowing the SO with facter
|
||||
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
|
||||
if [[ $SO = "RedHat" && ! -f /usr/bin/dnf ]];then
|
||||
yum install dnf
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
pkgbase = jka-toolkit
|
||||
pkgdesc = Set of scripts to optimize the daily work in linux shell (jkazip and apw)
|
||||
pkgver = 0.2.4
|
||||
pkgrel = 1
|
||||
pkgver = 0.2.5
|
||||
pkgrel = 2
|
||||
url = http://proyecto.jkanetwork.com
|
||||
install = jka-toolkit.install
|
||||
arch = any
|
||||
@@ -15,7 +15,7 @@ pkgbase = jka-toolkit
|
||||
provides = apw
|
||||
options = !emptydirs
|
||||
source = https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz
|
||||
md5sums = 530beded245bba22227860edd52bd6b7
|
||||
md5sums = 2f2d776a4201f0628cae8c0ea0e12d22
|
||||
|
||||
pkgname = jka-toolkit
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Maintainer: JKA Network (JoseluCross, Kprkpr, Yukialba) <contacto@jkanetwork.com>
|
||||
pkgname=jka-toolkit
|
||||
pkgver=0.2.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Set of scripts to optimize the daily work in linux shell (jkazip and apw)"
|
||||
arch=('any')
|
||||
url="http://proyecto.jkanetwork.com"
|
||||
@@ -11,7 +11,7 @@ provides=('jkazip' 'apw')
|
||||
options=(!emptydirs)
|
||||
install=$pkgname.install
|
||||
source=(https://gitlab.com/JKANetwork/jka-toolkit/raw/master/jka-toolkit.tar.gz)
|
||||
md5sums=('530beded245bba22227860edd52bd6b7')
|
||||
md5sums=('2f2d776a4201f0628cae8c0ea0e12d22')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
|
||||
Reference in New Issue
Block a user