diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-01 10:48:43 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-01 10:48:43 -0800 |
commit | 8fb07aa6c7f90133432d5dc370f5ba640a57c543 (patch) | |
tree | 969dbaa71c6522344ab4982668b8fd7dfc2ec0b6 /debian/vyatta-cfg-system.postinst.in | |
parent | e7b88b1b1a9a89f3e7cc36ea321e789d0365e4d8 (diff) | |
download | vyatta-cfg-quagga-8fb07aa6c7f90133432d5dc370f5ba640a57c543.tar.gz vyatta-cfg-quagga-8fb07aa6c7f90133432d5dc370f5ba640a57c543.zip |
Get rid of warning on package update
Warning:
cp '/opt/vyatta/etc/level' and '/opt/vyatta/etc/level' are the same file
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index fd1a160e..646028f3 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -127,6 +127,9 @@ EOF # Install pamradius config (should come with radius client eventually) cp $sysconfdir/pam_radius.cfg /usr/share/pam-configs/radius +fi + +if [ "$sysconfdir" != "/opt/vyatta/etc" ]; then cp $sysconfdir/level $sysconfdir/protected-user /opt/vyatta/etc fi |