summarylogtreecommitdiffstats
path: root/osu.install
diff options
context:
space:
mode:
authorValdikSS2015-06-10 14:08:13 +0300
committerValdikSS2015-06-10 14:08:13 +0300
commit7fe6ffbd5bcc9ccfe74d9c539b89435200401e16 (patch)
treeae4afbfbd3ea30362d3a7c7e8dc7c47eb42898b8 /osu.install
downloadaur-7fe6ffbd5bcc9ccfe74d9c539b89435200401e16.tar.gz
Initial commit
Diffstat (limited to 'osu.install')
-rw-r--r--osu.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/osu.install b/osu.install
new file mode 100644
index 000000000000..0f23b9fa6979
--- /dev/null
+++ b/osu.install
@@ -0,0 +1,22 @@
+post_install() {
+ #chmod g+s "/opt/osu/game/"
+ #chmod g+w "/opt/osu/game/"
+ update-desktop-database -q
+ echo "To run this game, you have to be in 'games' group"
+ echo "Use 'sudo gpasswd -a YOUR_USERNAME games'"
+ echo
+ echo "If you experience sound lag with alsa, you might try to add something like"
+ echo "http://pastebin.com/djQGVmHf in your $HOME/.asoundrc (or /etc/asound.conf)"
+ echo
+ echo "If you use pulseaudio, try your luck tuning"
+ echo "default-fragments and default-fragment-size-msec in /etc/pulse/daemon.conf"
+ echo
+ echo "If you experience sound crackling, play with"
+ echo "HKEY_CURRENT_USER\Software\Wine\DirectSound\SndQueueMax in regedit"
+ echo "(set it to 3 or more)"
+
+}
+
+post_remove() {
+ update-desktop-database -q
+}