Browse Source

No MD5 for default resources

pull/1268/head
Braunson 8 years ago
parent
commit
8ad76124ff
  1. 3
      lgsm/functions/command_install_resources_mta.sh

3
lgsm/functions/command_install_resources_mta.sh

@ -12,13 +12,14 @@ fn_install_resources(){
echo ""
echo "Installing Default Resources"
echo "================================="
fileurl="http://mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip"; filedir="${tmpdir}"; filename="multitheftauto_resources.zip"; executecmd="noexecute" run="norun"; force="noforce"; md5="97a587509698f7f010bcd6e5c6dd9c31"
fileurl="http://mirror.mtasa.com/mtasa/resources/mtasa-resources-latest.zip"; filedir="${tmpdir}"; filename="multitheftauto_resources.zip"; executecmd="noexecute" run="norun"; force="noforce"; md5="nomd5"
fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}"
fn_dl_extract "${filedir}" "${filename}" "${resourcesdir}"
echo "Default Resources Installed."
}
fn_print_header
fn_print_warning_nl "Installing the default resources with existing resources may cause issues."
while true; do
read -e -i "y" -p "Do you want to install MTA default resources? [Y/n]" yn

Loading…
Cancel
Save