# install.sh · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/blob/refs%2Fheads%2Fcodex%2Fguard-update-controller-kde-modules/install.sh)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: refs/heads/codex/guard-update-controller-kde-modules

Commit: 2727eb9ef324f2b11b9e760ae49b3f306614af30

Blob: 8487bd839368a78a72f729b0f3ea5eedd1e7bb61

Size: 337 bytes

[Immutable source](https://git.cafe/lucenx/codexbar-plasma/blob/2727eb9ef324f2b11b9e760ae49b3f306614af30/install.sh?format=markdown)

```
#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PACKAGE_PATH="${ROOT_DIR}/dist/codexbar-plasma.plasmoid"

make -C "$ROOT_DIR" package
kpackagetool6 -t Plasma/Applet -u "$PACKAGE_PATH" || kpackagetool6 -t Plasma/Applet -i "$PACKAGE_PATH"
systemctl --user restart plasma-plasmashell.service

```
