Skip to content

Commit

Permalink
properly switch to local
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Jan 8, 2025
1 parent 90c8ba6 commit 79afb8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hello-rhino-git/hello-rhino-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ external_connection=true

prepare() {
cd "${gives}"
meson setup build/ --buildtype=release --prefix=/usr
meson setup build/ --buildtype=release --prefix=/usr/local
}

build() {
Expand All @@ -27,7 +27,7 @@ package() {
post_install() {
mkdir -p "${homedir}/.config/autostart"
if ! [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
sudo cp "/usr/share/applications/hello-rhino.desktop" "${homedir}/.config/autostart/hello-rhino.desktop"
sudo cp "/usr/local/share/applications/hello-rhino.desktop" "${homedir}/.config/autostart/hello-rhino.desktop"
sudo chown "${PACSTALL_USER}" "${homedir}/.config/autostart/hello-rhino.desktop"
fi
}
Expand Down

0 comments on commit 79afb8a

Please sign in to comment.