From 5205ccf97e21ddee07119d15d1e4ad34469d38b0 Mon Sep 17 00:00:00 2001 From: TheElectronWill Date: Tue, 12 Dec 2017 19:33:34 +0100 Subject: [PATCH] Run postinst.sh after install, fix #4 --- discord-canary.spec | 4 +++- discord-stable.spec | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/discord-canary.spec b/discord-canary.spec index 99d176f..3276bcf 100644 --- a/discord-canary.spec +++ b/discord-canary.spec @@ -36,4 +36,6 @@ chmod +x "%{buildroot}%{install_dir}"/*.so %{install_dir} %{apps_dir}/* - +%post +cd "%{install_dir}" +sh postinst.sh diff --git a/discord-stable.spec b/discord-stable.spec index 8a8fa76..a631dc1 100644 --- a/discord-stable.spec +++ b/discord-stable.spec @@ -36,4 +36,6 @@ chmod +x "%{buildroot}%{install_dir}"/*.so %{install_dir} %{apps_dir}/* - +%post +cd "%{install_dir}" +sh postinst.sh