| 1 |
post_install() { |
| 2 |
echo 'Put your Descent 1 data files either to /usr/share/d1x-rebirth/ or ~/.d1x-rebirth/' |
| 3 |
|
| 4 |
cat << EOF |
| 5 |
Following files are needed to run the game: |
| 6 |
|
| 7 |
descent.hog |
| 8 |
descent.pig |
| 9 |
|
| 10 |
You don't own the full game, yet? |
| 11 |
Just visit GOOD OLD GAMES via: |
| 12 |
https://www.gog.com/game/descent |
| 13 |
and download it for a very low price! DRM-FREE! |
| 14 |
|
| 15 |
You can get AddOns for the game from https://www.dxx-rebirth.com/addons/ |
| 16 |
|
| 17 |
EOF |
| 18 |
} |
| 19 |
|
| 20 |
post_upgrade() { |
| 21 |
post_install |
| 22 |
} |
| 23 |
|
| 24 |
pre_remove() { |
| 25 |
/bin/true |
| 26 |
} |
| 27 |
|
| 28 |
op=$1 |
| 29 |
shift |
| 30 |
|
| 31 |
$op "$@" |