Skip to content

Commit

Permalink
always install modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mx3L committed May 12, 2020
1 parent 8611e80 commit aaf168e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/plugin/src/resources/libraries/get_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ tmp_path=/tmp/archivczsk_libs

module_available()
{
python -c "import sys;sys.path.append("\"\.\/$1\"");import $1" 2> /dev/null
if [ $? -eq 0 ]; then
#python -c "import sys;sys.path.append("\"\.\/$1\"");import $1" 2> /dev/null
#if [ $? -eq 0 ]; then
if [ -d $1 ]; then
if [ "$2" = "f" ]; then
echo "0"
else
Expand Down

0 comments on commit aaf168e

Please sign in to comment.