Replace all install invocation and switch cases with
dotinstall <name>
This will internally search for a line in the central config file that matches the name, platform, and architecture. If more than one line is matched, the install will abort.
Open questions:
How and if to handle different extraction processes for the installed binary files?
Instead of repeating the same switch case over all install files:
create a central config file. The format is tab separated.
For binary install the format is:
For package manager installs the format is:
Replace all install invocation and switch cases with
This will internally search for a line in the central config file that matches the
name
,platform
, andarchitecture
. If more than one line is matched, the install will abort.Open questions: