Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 180262
Collapse All | Expand All

(-)mpd-0.13.0.ebuild (-5 / +5 lines)
Lines 39-44 Link Here
39
		die "Missing libOggFLAC library."
39
		die "Missing libOggFLAC library."
40
	fi
40
	fi
41
41
42
	enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd"
43
44
	# also change the homedir if the user has existed before
45
	usermod -d "/var/lib/mpd" mpd
46
42
}
47
}
43
48
44
src_unpack() {
49
src_unpack() {
Lines 128-136 Link Here
128
pkg_postinst() {
133
pkg_postinst() {
129
	elog "If you will be starting mpd via /etc/init.d/mpd initscript, please make"
134
	elog "If you will be starting mpd via /etc/init.d/mpd initscript, please make"
130
	elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid."
135
	elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid."
131
132
	enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd"
133
134
	# also change the homedir if the user has existed before
135
	usermod -d "/var/lib/mpd" mpd
136
}
136
}

Return to bug 180262