Added Cyg-Win
This commit is contained in:
parent
82cbc206eb
commit
413c315806
10586 changed files with 3806249 additions and 0 deletions
14
Agent-Windows/OGP64/etc/postinstall/man-db.sh.done
Normal file
14
Agent-Windows/OGP64/etc/postinstall/man-db.sh.done
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
if [ ! -e "/etc/man_db.conf" ]
|
||||
then
|
||||
/usr/bin/mkdir -p "/etc"
|
||||
/usr/bin/cp "/etc/defaults/etc/man_db.conf" "/etc/man_db.conf"
|
||||
else
|
||||
if [ -f /etc/man_db.conf -a -x /usr/bin/diff ]
|
||||
then
|
||||
/usr/bin/mkdir -p "/var/cache/setup/etc"
|
||||
/usr/bin/rm -f "/var/cache/setup//etc/man_db.conf.diff"
|
||||
/usr/bin/diff -wut "/etc/man_db.conf" "/etc/defaults/etc/man_db.conf" > "/var/cache/setup//etc/man_db.conf.diff" ||
|
||||
echo "Defaults for /etc/man_db.conf differ from actual file, please check /var/cache/setup//etc/man_db.conf.diff"
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue