File: getgui

package info (click to toggle)
openvpn 2.2.1-8%2Bdeb7u3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,960 kB
  • sloc: ansic: 60,297; sh: 5,704; python: 631; makefile: 282; perl: 242; awk: 13
file content (19 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Get and sign the OpenVPN GUI

# load version.nsi definitions
. autodefs/defs.sh

GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"

if [ -f "$GUI" ]; then
    mkdir -p $GENOUT/bin &>/dev/null    
    cp $GUI $GENOUT/bin
fi

if [ -f "$GENOUT/bin/$OPENVPN_GUI" ]; then
    echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
else
    cat /dev/null >autodefs/guidefs.nsi
fi