diff options
| author | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-08 20:36:52 +0200 |
|---|---|---|
| committer | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-08 20:38:25 +0200 |
| commit | adcb52806eb4c778bd97dc7eb01ee43ae5733fd1 (patch) | |
| tree | d8e54c6a9300c1b4aae91747acbb0869440003c7 /raveos-cosmic-theme | |
| parent | a9d2aca55e607205bed058d268d37c1fe89095f8 (diff) | |
| download | RaveOS-PKGBUILD-adcb52806eb4c778bd97dc7eb01ee43ae5733fd1.tar.gz RaveOS-PKGBUILD-adcb52806eb4c778bd97dc7eb01ee43ae5733fd1.zip | |
Diffstat (limited to 'raveos-cosmic-theme')
| -rw-r--r-- | raveos-cosmic-theme/PKGBUILD | 9 | ||||
| -rw-r--r-- | raveos-cosmic-theme/raveos-cosmic-theme.install | 7 |
2 files changed, 8 insertions, 8 deletions
diff --git a/raveos-cosmic-theme/PKGBUILD b/raveos-cosmic-theme/PKGBUILD index c1a76e2..877e9a5 100644 --- a/raveos-cosmic-theme/PKGBUILD +++ b/raveos-cosmic-theme/PKGBUILD @@ -2,7 +2,7 @@ pkgname=raveos-cosmic-theme pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="RaveOS Cosmic theme payload and installer" arch=('any') url="https://raveos.local" @@ -23,18 +23,11 @@ SRCPKGDEST="${startdir}/build" LOGDEST="${startdir}/build" package() { - install -dm755 "${pkgdir}/usr/share/backgrounds/raveos" - install -Dm644 "${startdir}/theme-data/background" \ - "${pkgdir}/usr/share/backgrounds/raveos/raveos-main-bg.jpeg" - install -Dm644 "${startdir}/theme-data/system/raveos-logo.svg" \ "${pkgdir}/usr/share/pixmaps/raveos-logo.svg" install -Dm644 "${startdir}/theme-data/system/raveos-logo.svg" \ "${pkgdir}/usr/share/icons/hicolor/scalable/apps/raveos-logo.svg" - install -Dm755 "${startdir}/theme-data/profile.d/raveos-fastfetch.sh" \ - "${pkgdir}/etc/profile.d/raveos-fastfetch.sh" - install -dm755 "${pkgdir}/usr/share/raveos/cosmic-theme" cp -r --no-preserve=ownership "${startdir}/theme-data" \ "${pkgdir}/usr/share/raveos/cosmic-theme/" diff --git a/raveos-cosmic-theme/raveos-cosmic-theme.install b/raveos-cosmic-theme/raveos-cosmic-theme.install index c022d33..963e9b8 100644 --- a/raveos-cosmic-theme/raveos-cosmic-theme.install +++ b/raveos-cosmic-theme/raveos-cosmic-theme.install @@ -1,4 +1,11 @@ _enable_apply_service() { + local payload="/usr/share/raveos/cosmic-theme/theme-data" + if [ -f "${payload}/background" ]; then + install -Dm644 "${payload}/background" /usr/share/backgrounds/raveos/raveos-main-bg.jpeg 2>/dev/null || true + fi + if [ -f "${payload}/profile.d/raveos-fastfetch.sh" ]; then + install -Dm755 "${payload}/profile.d/raveos-fastfetch.sh" /etc/profile.d/raveos-fastfetch.sh 2>/dev/null || true + fi if command -v systemctl >/dev/null 2>&1; then systemctl enable raveos-cosmic-theme-apply.service >/dev/null 2>&1 || true fi |