mattermost-plugin-remind make changes to location of plubin
Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>master
parent
d7e3204945
commit
76bca385d0
|
@ -38,7 +38,7 @@ popd
|
|||
%install
|
||||
mkdir -p %{buildroot}%{mattermost_home}/plugins/remind/{server,webapp}
|
||||
cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/plugin.json %{buildroot}%{mattermost_home}/plugins/remind/
|
||||
sed 's/"executables": {/"executables": { plugin.exe/' -i %{buildroot}%{mattermost_home}/plugins/remind/plugin.json
|
||||
sed 's/"executables": {/"executables": { "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/remind/plugin.json
|
||||
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/remind/plugin.json
|
||||
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/remind/plugin.json
|
||||
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/remind/plugin.json
|
||||
|
|
Loading…
Reference in New Issue