Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20465 - [gweled] Incorrect file names

Attached to Project: Arch Linux
Opened by Nate (randypenguin) - Friday, 13 August 2010, 16:42 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 September 2010, 14:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Dan Griffiths (Ghost1227)
Giovanni Scafora (giovanni)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Scores are not saved because the files names in gweled.install are incorrect

gweled.easy.scores --> gweled.Normal.scores

and

gweled.timed.scores --> gweled.Timed.scores

#!/bin/sh
# Debian postinst script for gweled
#

set -e

case "$1" in
configure)
if [ -f /var/games/gweled.easy.scores ]; then
if [ ! -f /var/games/gweled.Normal.scores ]; then
mv /var/games/gweled.easy.scores /var/games/gweled.Normal.scores;
else
rm /var/games/gweled.easy.scores;
fi
fi
if [ -f /var/games/gweled.timed.scores ]; then
if [ ! -f /var/games/gweled.Timed.scores ]; then
mv /var/games/gweled.timed.scores /var/games/gweled.Timed.scores;
else
rm /var/games/gweled.timed.scores;
fi
fi

if [ -f /var/games/gweled.hard.scores ]; then
rm /var/games/gweled.hard.scores;
fi

for scorefile in Normal Timed; do
[ ! -f /var/games/gweled.${scorefile}.scores ] && \
touch /var/games/gweled.${scorefile}.scores;
chown root:games /var/games/gweled.${scorefile}.scores;
chmod 664 /var/games/gweled.${scorefile}.scores;
done

dpkg-statoverride --remove /usr/games/gweled >/dev/null 2>&1 || true
dpkg-statoverride --update --add root games 02755 /usr/games/gweled
;;

abort-upgrade|abort-remove|abort-deconfigure)
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac



exit 0
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 08 September 2010, 14:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  gweled 0.8-2

Loading...