diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-05-06 11:57:18 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-06 17:21:07 +0200 |
commit | eb86f39ca683f5ee661f05b564dbe3d978dd732f (patch) | |
tree | 17d50e4b1bc8b06a42562d771e406d58d55f14a1 /testing/networkmanager | |
parent | c2362c4f3914346f3416c7fa9c441d8fa9097a3e (diff) | |
download | aports-eb86f39ca683f5ee661f05b564dbe3d978dd732f.tar.bz2 aports-eb86f39ca683f5ee661f05b564dbe3d978dd732f.tar.xz |
testing/networkmanager: move post-install message
unformatted post-install message moved to:
/usr/share/apk-tools/$pkgname/post-install-message
Diffstat (limited to 'testing/networkmanager')
-rw-r--r-- | testing/networkmanager/APKBUILD | 4 | ||||
-rw-r--r-- | testing/networkmanager/networkmanager.apk-post-msg | 2 | ||||
-rw-r--r-- | testing/networkmanager/networkmanager.post-install | 14 |
3 files changed, 5 insertions, 15 deletions
diff --git a/testing/networkmanager/APKBUILD b/testing/networkmanager/APKBUILD index 9055e2124a..1aedda1f8f 100644 --- a/testing/networkmanager/APKBUILD +++ b/testing/networkmanager/APKBUILD @@ -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 diff --git a/testing/networkmanager/networkmanager.apk-post-msg b/testing/networkmanager/networkmanager.apk-post-msg new file mode 100644 index 0000000000..9ceedb2439 --- /dev/null +++ b/testing/networkmanager/networkmanager.apk-post-msg @@ -0,0 +1,2 @@ +To modify system network connections without the root password: add your user account to the 'plugdev' group. + diff --git a/testing/networkmanager/networkmanager.post-install b/testing/networkmanager/networkmanager.post-install deleted file mode 100644 index 66392d21e1..0000000000 --- a/testing/networkmanager/networkmanager.post-install +++ /dev/null @@ -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 - |