English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 03 May 2021, 21:25   #1
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
How to update Workbench?

What would be the best solution to make a update script of a 3.1 system (commands, libraries, devices, etc ...)?
falken is offline  
Old 04 May 2021, 03:35   #2
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
You would use the "Update from OS3.1" option of the Installer script on the OS3.9 CD.
Minuous is offline  
Old 04 May 2021, 10:29   #3
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
Quote:
Originally Posted by Minuous View Post
You would use the "Update from OS3.1" option of the Installer script on the OS3.9 CD.
Ok, but I am referring to writing a script myself to update all the content that I indicate.
falken is offline  
Old 04 May 2021, 17:18   #4
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 943
I don't quite understand why you'd want a script to do this when you could just copy in your replacement files with DOpus or similar, but a basic version would be something like
Code:
copy MyC/#? SYS:C ALL CLONE
copy MyDevs/#? SYS:Devs ALL CLONE
copy MyLibs/#? SYS:Libs ALL CLONE
etc., assuming you're in a directory in which the subdirectories MyC, MyDevs, MyLibs, etc. contain your updated files for their SYS: counterparts.
Matt_H is offline  
Old 04 May 2021, 18:36   #5
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
Quote:
Originally Posted by Matt_H View Post
I don't quite understand why you'd want a script to do this when you could just copy in your replacement files with DOpus or similar, but a basic version would be something like
Code:
copy MyC/#? SYS:C ALL CLONE
copy MyDevs/#? SYS:Devs ALL CLONE
copy MyLibs/#? SYS:Libs ALL CLONE
etc., assuming you're in a directory in which the subdirectories MyC, MyDevs, MyLibs, etc. contain your updated files for their SYS: counterparts.
Well, this is because we have a distro that is periodically updated. This would prevent a user from having to download the HDF file each time it is updated.
falken is offline  
Old 04 May 2021, 20:21   #6
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 943
Quote:
Originally Posted by falken View Post
Well, this is because we have a distro that is periodically updated. This would prevent a user from having to download the HDF file each time it is updated.
Ah, okay - that's important context. Could get complicated with something as large as a distro so you'll probably want something with better error checking than a simple DOS copy script. You might want to look into the scripting language of Installer, which can do version comparisons for you.
Matt_H is offline  
Old 04 May 2021, 20:33   #7
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
Quote:
Originally Posted by Matt_H View Post
Ah, okay - that's important context. Could get complicated with something as large as a distro so you'll probably want something with better error checking than a simple DOS copy script. You might want to look into the scripting language of Installer, which can do version comparisons for you.
Thanks, I'm studying the possibility of doing it with python.
falken is offline  
Old 04 May 2021, 22:04   #8
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 943
Quote:
Originally Posted by falken View Post
Thanks, I'm studying the possibility of doing it with python.
I could be wrong, but I don't think Python is available for OS3.
Matt_H is offline  
Old 04 May 2021, 22:10   #9
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
Quote:
Originally Posted by Matt_H View Post
I could be wrong, but I don't think Python is available for OS3.
Yep, there is a package in Aminet. It's old, but it works!
falken is offline  
Old 05 May 2021, 14:01   #10
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
If you are looking for something like Python on Amiga then ARexx might be a look worth.
daxb is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
workbench.library - Should I update it? Amiga1992 support.Apps 57 19 August 2017 12:52
well i have update my Workbench to Classic Workbench mcbone Amiga scene 0 02 May 2015 21:22
Workbench CANDI Update Released On AMIStore App Store amigakit.com News 0 20 December 2014 17:18
Classic Workbench update and upgrade Muzer project.ClassicWB 2 28 February 2010 23:50
ChipTune.com Update - Workbench Imitation ant512 Amiga scene 11 14 April 2007 14:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:19.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07927 seconds with 15 queries