diff options
author | Hunter Wittenborn | 2021-04-05 21:46:59 -0500 |
---|---|---|
committer | Hunter Wittenborn | 2021-04-05 21:46:59 -0500 |
commit | 1ce5a80afef3ae9b9942bb73d1bda109c356ba2a (patch) | |
tree | 5638dc435c780e914ea4b5b0837a1145e441b3af | |
parent | 171f28a40043e5413b550d7ece56a85e961ec2c7 (diff) | |
download | aur-1ce5a80afef3ae9b9942bb73d1bda109c356ba2a.tar.gz |
Fix issue where desktop icon might dissapear upon reboot
Added '-L' option to cp to fix symlink issues with 'bstudio.desktop' file
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,7 +4,7 @@ pkgname=bootstrap-studio pkgver=5.5.4 -pkgrel=2 +pkgrel=3 pkgdesc="Bootstrap Studio is a powerful tool which web developers and designers use to create layouts and fully functional websites using the Bootstrap framework." arch=("x86_64") license=("custom") @@ -22,14 +22,14 @@ prepare() { package() { mkdir -p "${pkgdir}/opt/bootstrap-studio" - cp -r "${srcdir}/squashfs-root" "${pkgdir}/opt/bootstrap-studio" + cp -Lr "${srcdir}/squashfs-root" "${pkgdir}/opt/bootstrap-studio" mkdir -p "${pkgdir}/usr/bin" - ln -s "${pkgdir}/opt/bootstrap-studio/squashfs-root/AppRun" "${pkgdir}/usr/bin/bootstrap-studio" + cp -Lr "${pkgdir}/opt/bootstrap-studio/squashfs-root/AppRun" "${pkgdir}/usr/bin/bootstrap-studio" mkdir -p "${pkgdir}/usr/share/applications" - cp -r "${srcdir}/bstudio.desktop" "${pkgdir}/usr/share/applications/" + cp -Lr "${srcdir}/bstudio.desktop" "${pkgdir}/usr/share/applications/" mkdir -p "${pkgdir}/usr/share/icons/hicolor/0x0/apps/" - cp -r "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/bstudio.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/" + cp -Lr "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/bstudio.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/" } |