Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
453c9082
Commit
453c9082
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack icq: prevent local .desktop creating (ALT bug 44250)
parent
7ec24a67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
icq.sh
repack.d/icq.sh
+10
-1
No files found.
repack.d/icq.sh
View file @
453c9082
...
...
@@ -18,7 +18,16 @@ mkdir -p $BUILDROOT$PRODUCTDIR
mv
$BUILDROOT
/
*
$BUILDROOT$PRODUCTDIR
subst
"s|
\"
/|
\"
$PRODUCTDIR
/|"
$SPEC
add_bin_link_command
$PRODUCT
add_bin_exec_command
$PRODUCT
# Hack against https://bugzilla.altlinux.org/43779
# Create non writeable local .desktop file
cat
<<
EOF
>
$BUILDROOT
/usr/bin/
$PRODUCT
#!/bin/sh
LDT=~/.local/share/applications/icqdesktop.desktop
[ ! -r "\
$LDT
" ] && mkdir -p ~/.local/share/applications/ && echo "[Desktop Entry]" > "\
$LDT
" && chmod a-w "\
$LDT
"
exec
$PRODUCTDIR
/
$PRODUCT
"\
$@
"
EOF
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment