removed bash version

This commit is contained in:
Paul M 2022-08-12 11:19:44 -05:00
parent 48f1a0f6fd
commit 5f7cceafb3
2 changed files with 1 additions and 22 deletions

View file

@ -1,22 +0,0 @@
#!/bin/bash
updfile=index.json # name of file to save list of packages as
updlsturl=https://content.minetest.net/api/packages/ # give use a json file of everything available
function get_updfile () {
wget -O $updfile $updlsturl
}
function check_mods () {
# we check the mods folder to see whats there then
return
}
if [[ -f "$updfile" ]]
then
# if the file is there move on unless the script is asked to update it
echo "Located packages file, using"
else
echo "File not found, fetching ..."
get_updfile
fi

View file

@ -81,5 +81,6 @@ if (-e "mods"){
chk_update(); chk_update();
}else{ }else{
get_ready(); get_ready();
# chk_update expects a hash retrived from storables so program needs to be run again after this
#chk_update(); #chk_update();
} }