diff options
Diffstat (limited to 'dustforce-hib-dustmod.install')
-rw-r--r-- | dustforce-hib-dustmod.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dustforce-hib-dustmod.install b/dustforce-hib-dustmod.install new file mode 100644 index 000000000000..4653def9116d --- /dev/null +++ b/dustforce-hib-dustmod.install @@ -0,0 +1,17 @@ +# make the program files writable by the 'dustmod' group to allow the dustmod +# auto-updater to work + +post_install () { + groupadd -f dustmod + chgrp -R dustmod /opt/dustforce-dustmod + chmod -R g+w /opt/dustforce-dustmod + + echo "To allow the dustmod auto-updater to work," \ + "add your user to the 'dustmod' group." +} + +post_remove () { + groupdel dustmod + # remove any files created by the auto-updater + rm -rf /opt/dustforce-dustmod +} |