1

Problem with hardcoded paths

view story
linux-howto

https://bbs.archlinux.org – I found this little game that comes with linux binaries but unfortunately without source and I thought it would be a good exercise to package it for AUR. It seemed quite forward at first glance - copying the data to /usr/share/ and creating a symlink in /usr/bin (in the end it wasn't as simple as that but basically thats what i've come up with so far).But now I come across the real problem. The game stores the savegames and the config relative to the binary (./data/ in this case) at hardcoded paths. Since /usr/share is readonly this obviously won't work. Even worse it would shar (HowTos)