0.6r7 - Stable
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERSION=0.6r6
|
VERSION=0.6r7
|
||||||
DEST=$1
|
DEST=$1
|
||||||
shift 1
|
shift 1
|
||||||
ORIG=$@
|
ORIG=$@
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ function install()
|
|||||||
if [ -x "$(command -v apt)" ]
|
if [ -x "$(command -v apt)" ]
|
||||||
then
|
then
|
||||||
if [[ -e ./lib/installers/deb.sh ]]; then . ./lib/installers/deb.sh; else . /usr/lib/lch/installers/deb.sh; fi
|
if [[ -e ./lib/installers/deb.sh ]]; then . ./lib/installers/deb.sh; else . /usr/lib/lch/installers/deb.sh; fi
|
||||||
elif [ -x "$(command -v dnf)" ] || [ -x "$(command -v yum)" ]
|
elif [ -x "$(command -v yum)" ]
|
||||||
then
|
then
|
||||||
if [[ -e ./lib/installers/rpm.sh ]]; then . ./lib/installers/rpm.sh; else . /usr/lib/lch/installers/rpm.sh; fi
|
if [[ -e ./lib/installers/rpm.sh ]]; then . ./lib/installers/rpm.sh; else . /usr/lib/lch/installers/rpm.sh; fi
|
||||||
elif [ -x "$(command -v pacman)" ]
|
elif [ -x "$(command -v pacman)" ]
|
||||||
|
|||||||
@@ -20,7 +20,12 @@ function get_dep(){
|
|||||||
echo -e "APT system detected"
|
echo -e "APT system detected"
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
|
|
||||||
|
wheel true &
|
||||||
|
WPID=$!
|
||||||
apt-get update 1> /dev/null
|
apt-get update 1> /dev/null
|
||||||
|
disown $WPID
|
||||||
|
kill $WPID &> /dev/null
|
||||||
|
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
if $PRIVSOFT; then
|
if $PRIVSOFT; then
|
||||||
|
|||||||
@@ -19,7 +19,11 @@ function get_dep(){
|
|||||||
echo -e "Pacman system detected"
|
echo -e "Pacman system detected"
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
|
|
||||||
|
wheel true &
|
||||||
|
WPID=$!
|
||||||
pacman -F -y 1> /dev/null
|
pacman -F -y 1> /dev/null
|
||||||
|
disown $WPID
|
||||||
|
kill $WPID &> /dev/null
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
if $PRIVSOFT; then
|
if $PRIVSOFT; then
|
||||||
|
|||||||
@@ -32,7 +32,11 @@ function install_centos(){
|
|||||||
echo -e "YUM system detected"
|
echo -e "YUM system detected"
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
|
|
||||||
|
wheel true &
|
||||||
|
WPID=$!
|
||||||
yum -y -q update &> /dev/null
|
yum -y -q update &> /dev/null
|
||||||
|
disown $WPID
|
||||||
|
kill $WPID &> /dev/null
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
install_centos
|
install_centos
|
||||||
|
|||||||
@@ -20,7 +20,11 @@ function get_dep(){
|
|||||||
echo -e "Zypper system detected"
|
echo -e "Zypper system detected"
|
||||||
echo "---------------------"
|
echo "---------------------"
|
||||||
|
|
||||||
|
wheel true &
|
||||||
|
WPID=$!
|
||||||
zypper -q up -y 1> /dev/null
|
zypper -q up -y 1> /dev/null
|
||||||
|
disown $WPID
|
||||||
|
kill $WPID &> /dev/null
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
if $PRIVSOFT; then
|
if $PRIVSOFT; then
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ function check()
|
|||||||
echo "----------------------------------"
|
echo "----------------------------------"
|
||||||
for i in "7z" "bzip2" "gzip" "rar" "tar" "unrar" "unzip" "zip"
|
for i in "7z" "bzip2" "gzip" "rar" "tar" "unrar" "unzip" "zip"
|
||||||
do
|
do
|
||||||
|
wheel true &
|
||||||
|
WPID=$!
|
||||||
if ! [ -x "$(command -v $i)" ]
|
if ! [ -x "$(command -v $i)" ]
|
||||||
then
|
then
|
||||||
echo -e "$i\t\t\t\e[91mNot Installed\e[0m"
|
echo -e "$i\t\t\t\e[91mNot Installed\e[0m"
|
||||||
@@ -41,6 +43,8 @@ function check()
|
|||||||
else
|
else
|
||||||
echo -e "$i\t\t\t\e[32mInstalled\e[0m"
|
echo -e "$i\t\t\t\e[32mInstalled\e[0m"
|
||||||
fi
|
fi
|
||||||
|
disown $WPID
|
||||||
|
kill $WPID &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
if $a
|
if $a
|
||||||
|
|||||||
Reference in New Issue
Block a user