File: postinst

package info (click to toggle)
mc 4.5.1-1.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,096 kB
  • ctags: 11,073
  • sloc: ansic: 89,604; tcl: 1,779; makefile: 1,267; sh: 869; perl: 289; awk: 148; sed: 93; csh: 1
file content (12 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

echo ""
echo "Creating symlinks in \"/usr/lib/mc/\" for config files in"
echo "\"/etc/mc/mc.*\" and for \"/usr/bin/mc\" as \"/usr/bin/mcedit\"."

( cd /usr/lib/mc ; ln -sf /etc/mc/* . )
( cd /usr/bin ; ln -sf mc mcedit )

echo ""
echo "Check the configuration files in /etc/mc/ for system wide"
echo "customization options if you don't like the defaults."