From 39c625f3409042ba44d4c75febad385ea9190984 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 5 May 2022 03:29:21 +0200 Subject: [PATCH] MY_PATH error in VirtualBox --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 72c0c98..47833d0 100755 --- a/install.sh +++ b/install.sh @@ -3,8 +3,7 @@ # Version: 0.3 # License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) ######################################################################## -{MY_PATH="`dirname \"$0\"`" # relative -MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +{ ME="${0##*/}" [ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1 @@ -43,7 +42,7 @@ done [[ ! $(which kodi) && "$USER" != "xbian" ]] &&\ echo ">>> Installation Kodi + Vstream = VOTRE VIDEOTHEQUE ! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<";\ sudo apt-get install kodi -y;\ - ${MY_PATH}/.install/kodi_uqload_downloader.sh + ./.install/kodi_uqload_downloader.sh echo "## INSTALLATION OpenCV = 'IA Amicale' " sudo apt-get install python3-opencv -y