diff options
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..32b2cbe --- /dev/null +++ b/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# nm-applet-fix - Installation Script +set -e + +if [ "$EUID" -ne 0 ]; then + echo "Please run as root (use sudo)." + exit 1 +fi + +echo "Installing patched nm-applet..." + +NM_APPLET_BIN="/usr/bin/nm-applet" + +cp -v nm-applet "$NM_APPLET_BIN" +chmod +x "$NM_APPLET_BIN" + +echo "Installation complete!" +echo "To apply the changes: killall nm-applet; nm-applet &" |
