Skip to content

Commit

Permalink
No symlink creation in linux installscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pnahratow authored and kduske committed Dec 21, 2016
1 parent b2d1aa2 commit a56e992
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions app/resources/linux/postinst
@@ -1,9 +1,6 @@
#!/bin/sh
set -e

# add target symlink
ln -sf @LINUX_TARGET_EXECUTABLE_PATH@ /usr/bin/trenchbroom

# Add icons to the system icons
XDG_ICON_RESOURCE="`which xdg-icon-resource 2> /dev/null || true`"
if [ ! -x "$XDG_ICON_RESOURCE" ]; then
Expand Down
3 changes: 0 additions & 3 deletions app/resources/linux/prerm
@@ -1,9 +1,6 @@
#!/bin/sh
set -e

# remove target symlink
rm -f /usr/bin/trenchbroom

# Remove icons from the system icons
XDG_ICON_RESOURCE="`which xdg-icon-resource 2> /dev/null || true`"
if [ ! -x "$XDG_ICON_RESOURCE" ]; then
Expand Down

0 comments on commit a56e992

Please sign in to comment.