blob: 4653def9116da3f20f2b0076a4bd2031b16ff62b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}
|