add more options
This commit is contained in:
parent
80c0866757
commit
a43cdacb7e
19 changed files with 189 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# global definitions:
|
||||
RED='\033[0;31m'
|
||||
GREEN='\033[0;32m'
|
||||
NC='\033[0m'
|
||||
|
||||
# check the parameters
|
||||
|
|
@ -59,4 +60,6 @@ unzip -o "$python_package_file"
|
|||
sed -i 's#export PATH="/usr/sbin:/usr/bin:/sbin:/bin"#export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"#' "$project_root/unpacked/squashfs-root/etc/profile"
|
||||
cd "$current_folder" || exit 8
|
||||
|
||||
echo -e "${GREEN}The python package has been successfully installed ${NC}"
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue