1 # arg 1: the new package version
4 /usr/sbin/groupadd i2p 2>/dev/null || true
5 /usr/sbin/useradd -s /bin/false -g i2p -d /opt/i2p i2p 2>/dev/null || true
6 chown -R i2p:i2p /opt/i2p
10 # arg 1: the new package version
11 # arg 2: the old package version
13 chown -R i2p:i2p /opt/i2p
17 # arg 1: the old package version
19 /usr/sbin/userdel -r i2p
23 # arg 1: the old package version