Skip to content

Commit

Permalink
fix(unicorn-{mobile,desktop}-git): missing mkdir in postinst (#6858)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
  • Loading branch information
oklopfer and ook37 authored Jan 11, 2025
1 parent fe4dab2 commit 23be346
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/unicorn-desktop-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = unicorn-desktop-git
gives = unicorn-desktop
pkgver = 0.0.1
pkgrel = 9
pkgrel = 10
pkgdesc = Unicorn Desktop by the Rhino Linux Team
priority = required
arch = amd64
Expand Down
3 changes: 2 additions & 1 deletion packages/unicorn-desktop-git/unicorn-desktop-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pkgname="unicorn-desktop-git"
source=("https://github.com/rhino-linux/unicorn.git")
arch=("amd64" "arm64")
pkgver="0.0.1"
pkgrel="9"
pkgrel="10"
depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "xfce4-appmenu-plugin" "vala-panel-plugins-wnck"
"vala-panel-appmenu" "appmenu-gtk2-module" "appmenu-gtk3-module" "xfce4-power-manager"
"xfce4-power-manager-plugins" "xfce4-pulseaudio-plugin" "xfce4-helpers" "pavucontrol"
Expand Down Expand Up @@ -95,6 +95,7 @@ post_install() {
sudo cp "/etc/xdg/xdg-unicorn/.bashrc" "/etc/skel/.bashrc"
papirus-folders -C violet --theme Papirus-Dark
if ! [[ -f /etc/NetworkManager/conf.d/10-globally-managed-devices.conf ]]; then
sudo mkdir -p /etc/NetworkManager/conf.d
echo "[keyfile]" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
echo "unmanaged-devices=none" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
fi
Expand Down
2 changes: 1 addition & 1 deletion packages/unicorn-mobile-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = unicorn-mobile-git
gives = unicorn-mobile
pkgver = 0.0.1
pkgrel = 7
pkgrel = 8
pkgdesc = Unicorn Desktop Mobile variant by the Rhino Linux Team
priority = required
arch = all
Expand Down
3 changes: 2 additions & 1 deletion packages/unicorn-mobile-git/unicorn-mobile-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pkgname="unicorn-mobile-git"
source=("https://github.com/rhino-linux/unicorn.git#branch=mobile")
arch=("all")
pkgver="0.0.1"
pkgrel="7"
pkgrel="8"
depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "plank" "dconf-cli" "yaru-theme-icon"
"yaru-theme-gtk" "papirus-icon-theme" "onboard" "xfce4-helpers" "xiccd" "xfce4" "dbus-x11"
"hardinfo" "xarchiver" "xdg-desktop-portal-gtk" "xserver-xorg-video-vesa" "xserver-xorg-video-fbdev"
Expand Down Expand Up @@ -101,6 +101,7 @@ post_install() {
fi
cp -r "/etc/skel/.local/share/onboard" "${homedir}/.local/share"
if ! [[ -f /etc/NetworkManager/conf.d/10-globally-managed-devices.conf ]]; then
sudo mkdir -p /etc/NetworkManager/conf.d
echo "[keyfile]" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
echo "unmanaged-devices=none" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
fi
Expand Down
4 changes: 2 additions & 2 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -12043,7 +12043,7 @@ pkgname = unicons-git
pkgbase = unicorn-desktop-git
gives = unicorn-desktop
pkgver = 0.0.1
pkgrel = 9
pkgrel = 10
pkgdesc = Unicorn Desktop by the Rhino Linux Team
priority = required
arch = amd64
Expand Down Expand Up @@ -12107,7 +12107,7 @@ pkgname = unicorn-desktop-git
pkgbase = unicorn-mobile-git
gives = unicorn-mobile
pkgver = 0.0.1
pkgrel = 7
pkgrel = 8
pkgdesc = Unicorn Desktop Mobile variant by the Rhino Linux Team
priority = required
arch = all
Expand Down

0 comments on commit 23be346

Please sign in to comment.