|
|
|
@ -38,7 +38,7 @@ popd
@@ -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 |
|
|
|
|