postinst Paketversion auslesen

Antworten
Benutzeravatar
Phill93
Beiträge: 8
Registriert: 09 Jun 2015, 10:18

postinst Paketversion auslesen

Beitrag von Phill93 »

Hallo,

kann ich irgendwie im postinst Script die aktuelle Paketversion herausbekommen?

Gruß

Phill93
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: postinst Paketversion auslesen

Beitrag 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


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Antworten