; $VER: Updateto314 46.5 (12.10.2018) by Ignacio Gully ; Here we introduce ourselves to the user. echo "" echo " Updateto314 is a simple AmigaDOS script that will update your" echo " current AmigaOS 3.1/3.5/3.9 system to work with AmigaOS 3.1.4" echo " Please back up all your data before continuing!" echo "" echo "" echo " Do you really want to update your system to 3.1.4 now?" ask " Type Y (Yes) or N (No) (Default = N)" if not warn echo "" echo " Program terminated upon user request." wait 5 sec quit endif ; We want to delete everything we want, no excuses so set "d" attribute protect sys:#? +d all ; Lets do some backup anyway. You never know who might screw things up. rename s:startup-sequence s:startup-sequence.bak if exists sys:storage/dosdrivers/cd0 rename sys:storage/dosdrivers/cd0 sys:storage/dosdrivers/CD0.old endif if exists sys:storage/dosdrivers/cd0.info copy sys:storage/dosdrivers/cd0.info sys:storage/dosdrivers/CD0.old.info clone buf 10 endif ; Delete obsolete prefs files which could bring conflicts. if exists ENVARC:sys/printergfx.prefs delete ENVARC:sys/printergfx.prefs force endif if exists ENVARC:classes/datatypes/picture delete ENVARC:classes/datatypes/picture/#? force all endif if exists sys:s/ed-startup delete sys:s/ed-startup force endif ; Enough warnings, lets do what we came here for. echo "" echo "Updating AmigaOS. Please wait a few minutes..." echo "" version >nil: sys:c/setpatch 44 if not warn execute update3539 endif execute update31