- migrate from linguas to l10n
- se l10n, is actually sv - add pdns to metadata.xml - do not use cp -f, fix typo
This commit is contained in:
parent
4ad98d43aa
commit
ddd4ab6c91
|
@ -99,9 +99,9 @@ RDEPEND="${DEPEND}"
|
||||||
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota )"
|
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota )"
|
||||||
|
|
||||||
# we need that to set the standardlanguage later
|
# we need that to set the standardlanguage later
|
||||||
LANGS="de en fr it nl pt se"
|
LANGS="de en fr it nl pt sv"
|
||||||
for X in ${LANGS} ; do
|
for X in ${LANGS} ; do
|
||||||
IUSE="${IUSE} linguas_${X}"
|
IUSE="${IUSE} l10n_${X}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# lets check user defined variables
|
# lets check user defined variables
|
||||||
|
@ -124,17 +124,17 @@ src_prepare() {
|
||||||
src_install() {
|
src_install() {
|
||||||
# set default language
|
# set default language
|
||||||
local MYLANG=""
|
local MYLANG=""
|
||||||
if use linguas_de ; then
|
if use l10n_de ; then
|
||||||
MYLANG="Deutsch"
|
MYLANG="Deutsch"
|
||||||
elif use linguas_fr ; then
|
elif use l10n_fr ; then
|
||||||
MYLANG="Français"
|
MYLANG="Français"
|
||||||
elif use linguas_it ; then
|
elif use l10n_it ; then
|
||||||
MYLANG="Italian"
|
MYLANG="Italian"
|
||||||
elif use linguas_nl ; then
|
elif use l10n_nl ; then
|
||||||
MYLANG="Dutch"
|
MYLANG="Dutch"
|
||||||
elif use linguas_pt ; then
|
elif use l10n_pt ; then
|
||||||
MYLANG="Português"
|
MYLANG="Português"
|
||||||
elif use linguas_se ; then
|
elif use l10n_sv ; then
|
||||||
MYLANG="Swedish"
|
MYLANG="Swedish"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -102,9 +102,9 @@ RDEPEND="${DEPEND}"
|
||||||
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota ) pdns? ( !bind )"
|
REQUIRED_USE="lighttpd? ( !nginx ) fcgid? ( !fpm ) vsftpd? ( !ftpquota ) pdns? ( !bind )"
|
||||||
|
|
||||||
# we need that to set the standardlanguage later
|
# we need that to set the standardlanguage later
|
||||||
LANGS="de en fr it nl pt se"
|
LANGS="de en fr it nl pt sv"
|
||||||
for X in ${LANGS} ; do
|
for X in ${LANGS} ; do
|
||||||
IUSE="${IUSE} linguas_${X}"
|
IUSE="${IUSE} l10n_${X}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# lets check user defined variables
|
# lets check user defined variables
|
||||||
|
@ -127,17 +127,17 @@ src_prepare() {
|
||||||
src_install() {
|
src_install() {
|
||||||
# set default language
|
# set default language
|
||||||
local MYLANG=""
|
local MYLANG=""
|
||||||
if use linguas_de ; then
|
if use l10n_de ; then
|
||||||
MYLANG="Deutsch"
|
MYLANG="Deutsch"
|
||||||
elif use linguas_fr ; then
|
elif use l10n_fr ; then
|
||||||
MYLANG="Français"
|
MYLANG="Français"
|
||||||
elif use linguas_it ; then
|
elif use l10n_it ; then
|
||||||
MYLANG="Italian"
|
MYLANG="Italian"
|
||||||
elif use linguas_nl ; then
|
elif use l10n_nl ; then
|
||||||
MYLANG="Dutch"
|
MYLANG="Dutch"
|
||||||
elif use linguas_pt ; then
|
elif use l10n_pt ; then
|
||||||
MYLANG="Português"
|
MYLANG="Português"
|
||||||
elif use linguas_se ; then
|
elif use l10n_sv ; then
|
||||||
MYLANG="Swedish"
|
MYLANG="Swedish"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ src_install() {
|
||||||
# Install the Froxlor files
|
# Install the Froxlor files
|
||||||
einfo "Installing Froxlor files"
|
einfo "Installing Froxlor files"
|
||||||
dodir ${FROXLOR_DOCROOT}
|
dodir ${FROXLOR_DOCROOT}
|
||||||
cp -Rf "${S}/" "${D}${FROXLOR_DOCROOT}/" || die "Installation of the Froxlor files failed"
|
cp -R "${S}/" "${D}${FROXLOR_DOCROOT}/" || die "Installation of the Froxlor files failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
@ -292,7 +292,7 @@ pkg_postinst() {
|
||||||
elog "to /etc/cron.d/froxlor and remove /etc/cron.d/syscp"
|
elog "to /etc/cron.d/froxlor and remove /etc/cron.d/syscp"
|
||||||
else
|
else
|
||||||
elog "Please open http://[ip]/froxlor in your browser to continue"
|
elog "Please open http://[ip]/froxlor in your browser to continue"
|
||||||
elog "continue with the basic setup of Froxlor."
|
elog "with the basic setup of Froxlor."
|
||||||
elog
|
elog
|
||||||
elog "Don't forget to setup your MySQL databases root user and password"
|
elog "Don't forget to setup your MySQL databases root user and password"
|
||||||
elog "using emerge --config mysql"
|
elog "using emerge --config mysql"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<flag name='mailquota'>Adds support for Quotas for the maildirs of
|
<flag name='mailquota'>Adds support for Quotas for the maildirs of
|
||||||
Customers</flag>
|
Customers</flag>
|
||||||
<flag name='nginx'>use nginx instead of Apache</flag>
|
<flag name='nginx'>use nginx instead of Apache</flag>
|
||||||
|
<flag name='pdns'>use Power-DNS instead of Bind</flag>
|
||||||
<flag name='pureftpd'>use pure-FTPd instead of ProFTPd</flag>
|
<flag name='pureftpd'>use pure-FTPd instead of ProFTPd</flag>
|
||||||
<flag name='quota'>Adds support for Filesystem-Quotas</flag>
|
<flag name='quota'>Adds support for Filesystem-Quotas</flag>
|
||||||
<flag name='tickets'>Adds support for the Ticket System</flag>
|
<flag name='tickets'>Adds support for the Ticket System</flag>
|
||||||
|
|
Loading…
Reference in New Issue