games-server/factorio-server: Correcting folders for SLOT

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-05-31 16:58:00 +02:00
parent 2db681366c
commit 371b7b1c15
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 4 additions and 4 deletions

View file

@ -20,9 +20,9 @@ RESTRICT="bindist mirror"
S="${WORKDIR}/factorio" S="${WORKDIR}/factorio"
src_install() { src_install() {
insinto /opt/factorio insinto "/opt/factorio-${SLOT}"
doins -r * doins -r *
exeinto /opt/factorio/bin/x64 exeinto "/opt/factorio-${SLOT}"/bin/x64
doexe bin/x64/factorio doexe bin/x64/factorio
newinitd "${FILESDIR}"/factorio.initd factorio newinitd "${FILESDIR}"/factorio.initd factorio

View file

@ -20,9 +20,9 @@ RESTRICT="bindist mirror"
S="${WORKDIR}/factorio" S="${WORKDIR}/factorio"
src_install() { src_install() {
insinto /opt/factorio insinto "/opt/factorio-${SLOT}"
doins -r * doins -r *
exeinto /opt/factorio/bin/x64 exeinto "/opt/factorio-${SLOT}"/bin/x64
doexe bin/x64/factorio doexe bin/x64/factorio
newinitd "${FILESDIR}"/factorio.initd factorio newinitd "${FILESDIR}"/factorio.initd factorio