Seite 1 von 1

postinst Paketversion auslesen

Verfasst: 16 Nov 2017, 17:36
von Phill93
Hallo,

kann ich irgendwie im postinst Script die aktuelle Paketversion herausbekommen?

Gruß

Phill93

Re: postinst Paketversion auslesen

Verfasst: 17 Nov 2017, 12:13
von wolfbardo
im postinst sollten

Code: Alles auswählen

# The following environment variables can be used to obtain information about the current installation:
#   PRODUCT_ID: id of the current product
#   CLIENT_DATA_DIR: directory which contains the installed client data
#   DEPOT_ID
#   PRODUCT_VERSION
#   PACKAGE_VERSION
zur Verfügung stehen

Bsp.: siehe https://download.uib.de/opsi4.0/experim ... .23-6.opsi

Gruss
Bardo Wolf