linux - Is there a .deb install file equivalent of .rpm first time install argument -



linux - Is there a .deb install file equivalent of .rpm first time install argument -

in .rpm file, there alternative check whether current install first version installed on current scheme

i.e. %pre , %post scripts passed argument equal 1* when lastly version erased %preun , %postun scripts passed argument equal 0*. ref:

is there equivalent thing in installing of .deb files? seems pretty obscure , searches turning nil little.

in .deb scripts, current version of bundle beingness installed passed in argument $2. if it's empty, means there no version of bundle installed.

linux install debian rpm deb

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -