GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Add in postinst #32

Closed theLOICofFRANCE closed 10 years ago

theLOICofFRANCE commented 10 years ago

Hello,

Thank you for your work. Why not add this in the postinstall?

dpkg --add-architecture i386 apt-get install -y multiarch-support apt-get update apt-get install -y jockey-common apt-get install -y libc6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

ghost commented 10 years ago

Except "dpkg --add-architecture i386", you can solve those dependencies automatically by using aptitude.

btw, jockey-common has moved to "Recommends"

GhostSquad57 commented 10 years ago

@HacKurx This will not work; you'll get an error along the lines of "apt is already running" during the postinstall process.

apt-get install -y libc6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

This is what the "Depends" section is for; look in the control file and you'll see what I mean.