1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
post_install() { chgrp -R games /usr/share/games/daggerfall chmod -R g+rw /usr/share/games/daggerfall daggerfall --enable-mod=fixes } post_upgrade() { chgrp -R games /usr/share/games/daggerfall chmod -R g+rw /usr/share/games/daggerfall daggerfall --refresh-mods daggerfall --enable-mod=fixes } post_remove() { daggerfall --refresh-mods }