Merge pull request #140911 from sersorrel/copy-desktop-items
This commit is contained in:
commit
e0d488f1a3
|
@ -30,8 +30,8 @@ copyDesktopItems() {
|
|||
|
||||
for desktopItem in $desktopItems; do
|
||||
if [[ -f "$desktopItem" ]]; then
|
||||
echo "Copying '$f' into '$out/share/applications'"
|
||||
install -D -m 444 -t "$out"/share/applications "$f"
|
||||
echo "Copying '$desktopItem' into '$out/share/applications'"
|
||||
install -D -m 444 -t "$out"/share/applications "$desktopItem"
|
||||
else
|
||||
for f in "$desktopItem"/share/applications/*.desktop; do
|
||||
echo "Copying '$f' into '$out/share/applications'"
|
||||
|
|
Loading…
Reference in a new issue