testing/networkmanager: move post-install message

unformatted post-install message moved to:
/usr/share/apk-tools/$pkgname/post-install-message
This commit is contained in:
Stuart Cardall 2015-05-06 11:57:18 +00:00 committed by Carlo Landmeter
parent c2362c4f39
commit eb86f39ca6
3 changed files with 5 additions and 15 deletions

View File

@ -14,12 +14,12 @@ depends_dev="dbus-glib-dev udev-dev libnl3-dev util-linux-dev linux-headers polk
modemmanager-dev newt-dev bluez-dev libsoup-dev libteam-dev rp-pppoe valgrind dnsmasq
openresolv dhclient vala gtk-doc readline-dev"
makedepends="$depends_dev intltool ncurses-terminfo"
install="$pkgname.post-install"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/$_ver/NetworkManager-$pkgver.tar.xz
$pkgname.conf
$pkgname.initd
$pkgname.rules
$pkgname.apk-post-msg
new-fix-musl-headers.patch
disable_set_hostname.patch
"
@ -85,6 +85,8 @@ package() {
# allow plugdev users to modify connections
install -m644 -D "$srcdir/$pkgname.rules" \
"$pkgdir/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules" || return 1
mkdir -p "$pkgdir/usr/share/apk-tools/$pkgname"
install -m644 "$srcdir/$pkgname.apk-post-msg" "$pkgdir/usr/share/apk-tools/$pkgname/post-install-message" || return 1
}
md5sums="71cae8707a90fa92e28cafbc9262b548 NetworkManager-1.0.0.tar.xz

View File

@ -0,0 +1,2 @@
To modify system network connections without the root password: add your user account to the 'plugdev' group.

View File

@ -1,14 +0,0 @@
#!/bin/sh
NORMAL="\033[1;0m"
STRONG="\033[1;1m"
GREEN="\033[1;32m"
print_strong() {
local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}"
printf "${prompt} %s\n"
}
print_strong "\nTo modify system network connections without the root password:" " add your user account to the 'plugdev' group.\n"
exit 0