Skip to content

Commit

Permalink
fixed some bugs in js_libs installation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Nov 24, 2024
1 parent 81b2037 commit c8dddb8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions tools/script/install_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ then
fi

# Begin script in case all parameters are correct
echo "Setting up python $version in $basedir/$foldername..."
echo "Setting up bootstrap $version in $basedir/$foldername..."






mkdir -p $path
mkdir -p $basedir

cd $path
cd $basedir

wget -q https://github.com/twbs/bootstrap/releases/download/v$bsversion/bootstrap-$bsversion-dist.zip
unzip bootstrap-$bsversion-dist.zip
mv bootstrap-$bsversion-dist $foldername
rm bootstrap-$bsversion-dist.zip
wget -q https://github.com/twbs/bootstrap/releases/download/v$version/bootstrap-$version-dist.zip
unzip bootstrap-$version-dist.zip
mv bootstrap-$version-dist $foldername
rm bootstrap-$version-dist.zip
8 changes: 4 additions & 4 deletions tools/script/install_datatables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ then
fi

# Begin script in case all parameters are correct
echo "Setting up python $version in $basedir/$foldername..."
echo "Setting up datatables $version in $basedir/$foldername..."



path=$path/$foldername
path=$basedir/$foldername

mkdir -p $path

cd $path

wget -q https://cdn.datatables.net/$bsversion/js/jquery.dataTables.min.js
wget -q https://cdn.datatables.net/$bsversion/css/jquery.dataTables.min.css
wget -q https://cdn.datatables.net/$version/js/jquery.dataTables.min.js
wget -q https://cdn.datatables.net/$version/css/jquery.dataTables.min.css
6 changes: 3 additions & 3 deletions tools/script/install_igv_js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ then
fi

# Begin script in case all parameters are correct
echo "Setting up python $version in $basedir/$foldername..."
echo "Setting up igv js $version in $basedir/$foldername..."





mkdir -p $path/$foldername
mkdir -p $basedir/$foldername

cd $path/$foldername
cd $basedir/$foldername

# official release
#wget -q https://cdn.jsdelivr.net/npm/igv@$version/dist/igv.min.js
Expand Down
6 changes: 3 additions & 3 deletions tools/script/install_jquery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ then
fi

# Begin script in case all parameters are correct
echo "Setting up python $version in $basedir/$foldername..."
echo "Setting up jquery $version in $basedir/$foldername..."




mkdir -p $path/$foldername
mkdir -p $basedir/$foldername

cd $path/$foldername
cd $basedir/$foldername

wget -q https://code.jquery.com/jquery-$version.min.js

Expand Down

0 comments on commit c8dddb8

Please sign in to comment.