}
pkg_postinst() {
- if [[ -f ${ROOT}etc/i2pd/subscriptions.txt ]]; then
+ if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
ewarn
ewarn "Configuration of the subscriptions has been moved from"
ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
}
pkg_postinst() {
- if [[ -f ${ROOT}etc/i2pd/subscriptions.txt ]]; then
+ if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
ewarn
ewarn "Configuration of the subscriptions has been moved from"
ewarn "subscriptions.txt to i2pd.conf. We recommend updating"