PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/sdk-installer/src/main/deb/DEBIAN/postinst

https://bitbucket.org/mmeinhold/amps
Shell | 20 lines | 13 code | 4 blank | 3 comment | 3 complexity | a3b209195cd319005377642527ae9665 MD5 | raw file
 1#!/bin/sh
 2#update file ownership/perms
 3for f in `find /usr/share/atlassian-plugin-sdk-${version}/bin/ -name "atlas-*"`; do
 4  chown root:root $f
 5  chmod 755 $f
 6done
 7
 8for f in `find /usr/share/atlassian-plugin-sdk-${version}/apache-maven/bin/ -name "*"`; do
 9  chown root:root $f
10  chmod 755 $f
11done
12
13# Add the symlinks we need from /usr/share to /usr/bin
14for f in `find /usr/bin/ -name "atlas-*"`; do
15  chown root:root $f
16done
17
18echo "If you previously installed a version prior to version 4.0, you will need to remove all references to the atlassian-plugin-sdk directory from your PATH environment variable."
19
20exit 0