# install.sh · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/blob/refs%2Fheads%2Ft3code%2Faudit-fragile-code-bugs/install.sh)

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

Visibility: public

Requested revision: refs/heads/t3code/audit-fragile-code-bugs

Commit: ee559259b3e1c73cb5574500b30c13d3c5b81242

Blob: 8487bd839368a78a72f729b0f3ea5eedd1e7bb61

Size: 337 bytes

[Immutable source](https://git.cafe/lucenx/codexbar-plasma/blob/ee559259b3e1c73cb5574500b30c13d3c5b81242/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

```
