Revisión 526f15ac
Añadido por Ismael Campos Suárez hace más de 5 años
ubuntu/bionic/all/linex-ocsinventory-agent/debian/postinst | ||
---|---|---|
|
||
fi
|
||
|
||
mv /etc/cron.daily/ocsinventory-agent-pre-linex-ocsinventory-agent "$SHAREDIR"
|
||
if [ -f "/etc/cron.daily/ocsinventory-agent-pre-linex-ocsinventory-agent" ]; then
|
||
mv /etc/cron.daily/ocsinventory-agent-pre-linex-ocsinventory-agent "$SHAREDIR"
|
||
fi
|
||
|
||
|
||
[ -d /var/lib/ocsinventory-agent/ ] && rm -r /var/lib/ocsinventory-agent/
|
||
ocsinventory-agent --lazy --nosoftware
|
ubuntu/bionic/all/linex-ocsinventory-agent/debian/postrm | ||
---|---|---|
|
||
|
||
if [ "$1" = remove ]; then
|
||
|
||
if [ -f "$SHAREDIR/ocsinventory-agent-pre-linex-ocsinventory-agent" ]; then
|
||
mv "$SHAREDIR/ocsinventory-agent-pre-linex-ocsinventory-agent" /etc/cron.daily/
|
||
fi
|
||
|
||
remove_divert /etc/ocsinventory/ocsinventory-agent.cfg
|
||
remove_divert /etc/cron.daily/ocsinventory-agent
|
Exportar a: Unified diff
Afinando linex-ocsinventory-agent