blob: e926e4c34c4b962ac225b61a35329aa09433a98f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
groupadd talking-dosbox >/dev/null
chgrp -R talking-dosbox /opt/talking-dosbox
chmod -R 2774 /opt/talking-dosbox
sed -i 's+mount C cdrive+mount C /opt/talking-dosbox/cdrive+g' /opt/talking-dosbox/dosbox-x.conf
echo "Please ensure you are added to the talking-dosbox group before running talking-dosbox. This also requires that you log out and back in to make the changes take affect."
}
post_upgrade() {
post_install
}
post_remove() {
groupdel talking-dosbox
}
|