diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index a1d2ccb91d..096387d178 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -53,6 +53,10 @@ mooyarn() { --ignore-scripts ${YARN_OPTS} "${@}" || die } +pkg_setup() { + use sqlite && python-single-r1_pkg_setup +} + src_prepare() { default use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js || die ; } diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild index e7d1c48610..a8abb0005c 100644 --- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild @@ -53,6 +53,10 @@ mooyarn() { --ignore-scripts ${YARN_OPTS} "${@}" || die } +pkg_setup() { + use sqlite && python-single-r1_pkg_setup +} + src_prepare() { default use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js || die ; }