diff options
Diffstat (limited to 'community/partimage/partimage.install')
-rw-r--r-- | community/partimage/partimage.install | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/community/partimage/partimage.install b/community/partimage/partimage.install deleted file mode 100644 index 4d403b177..000000000 --- a/community/partimage/partimage.install +++ /dev/null @@ -1,22 +0,0 @@ -pre_install() { - groupadd -g 110 partimag &> /dev/null - useradd -u 110 -g partimag -c "Partimage user" -d /dev/null -s /bin/false partimag &> /dev/null -} - -post_install() { - chown partimag:partimag /etc/partimaged/partimagedusers -} - -post_upgrade() { - if [ "$(getent group partimag | cut -d ':' -f 3)" != '110' ]; then - post_remove - pre_install - echo ">> partimage UID/GID has been changed" - echo ">> if you have some directories owned by partimage - please chown them again" - fi -} - -post_remove() { - userdel partimag > /dev/null - groupdel partimag > /dev/null -} |