Skip to content

Commit

Permalink
pkg - Fixed some commands
Browse files Browse the repository at this point in the history
---

Type: pkg
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jan 19, 2025
1 parent 93f0060 commit 8df2d50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ install:
sed -i 's|/usr/lib/ks|/usr/lib/ks-$(MODAPI)|g' $(FDESTDIR)/share/applications/ks-$(MODAPI).desktop
sed -i 's|/usr/bin/ks|/usr/bin/ks-$(MODAPI)|g' $(FDESTDIR)/share/applications/ks-$(MODAPI).desktop
find '$(FDESTDIR)/lib/' -type d -name "runtimes" -exec sh -c 'find $$0 -mindepth 1 -maxdepth 1 -not -name $(ARCH) -type d -exec rm -rf \{\} \;' {} \;
find $(FDESTDIR) -mindepth 1 -type f -exec realpath --relative-to $(FDESTDIR) usr/lib/ks-$(MODAPI)/{} \; > debian/nitrocid-$(MODAPI).install
find $(FDESTDIR) -type d -name Addons -prune -o -type f -exec realpath --relative-to $(FDESTDIR) usr/lib/ks-$(MODAPI)/{} \; > debian/nitrocid-$(MODAPI)-lite.install
tee usr/bin/ks-$(MODAPI) | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
tee usr/bin/ks-jl-$(MODAPI) | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
tee usr/share/applications/ks.desktop | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
find $(FDESTDIR) -mindepth 1 -type f -exec realpath --relative-to $(FDESTDIR) {} \; > debian/nitrocid-$(MODAPI).install
find $(FDESTDIR) -type d -name Addons -prune -o -type f -exec realpath --relative-to $(FDESTDIR) {} \; > debian/nitrocid-$(MODAPI)-lite.install
echo usr/bin/ks-$(MODAPI) | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
echo usr/bin/ks-jl-$(MODAPI) | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
echo usr/share/applications/ks.desktop | tee debian/nitrocid-$(MODAPI).install debian/nitrocid-$(MODAPI)-lite.install
$(MAKE) lite

lite:
Expand Down

0 comments on commit 8df2d50

Please sign in to comment.