File: libkysdk-base.postinst

package info (click to toggle)
libkysdk-base 3.0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,736 kB
  • sloc: cpp: 22,853; ansic: 8,693; python: 1,858; sh: 121; xml: 19; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
#DEBHELPER#

# conf2-compile
if [ -f /etc/systemd/system/multi-user.target.wants/conf2-update-db.service ]; then
    rm /etc/systemd/system/multi-user.target.wants/conf2-update-db.service
fi
if [ -e /usr/bin/kconf2-editor ]; then
    if [ ! -L /usr/bin/kconf2-editor ]; then
        rm /usr/bin/kconf2-editor
        ln -s /usr/share/kysdk/kysdk-base/kconf2-editor /usr/bin/kconf2-editor;
    fi
fi