aboutsummaryrefslogtreecommitdiff
path: root/myautomount.spec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-09-29 22:56:16 -0400
committerB Stack <bgstack15@gmail.com>2020-09-29 22:56:16 -0400
commit6803ba55cdf4e1cf37275ead7247ee5d27f011d4 (patch)
treed4274f44086656429f2df0062cad308468312b1a /myautomount.spec
parentadd sudo, fix initialization (diff)
downloadmyautomount-6803ba55cdf4e1cf37275ead7247ee5d27f011d4.tar.gz
myautomount-6803ba55cdf4e1cf37275ead7247ee5d27f011d4.tar.bz2
myautomount-6803ba55cdf4e1cf37275ead7247ee5d27f011d4.zip
add notes to readme
Diffstat (limited to 'myautomount.spec')
-rw-r--r--myautomount.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/myautomount.spec b/myautomount.spec
index cc821f0..97d9f89 100644
--- a/myautomount.spec
+++ b/myautomount.spec
@@ -17,7 +17,7 @@
%global use_commit 1
%define date %(/usr/bin/date +%%Y%%m%%d)
%if 0%{?use_commit}
-%global git_commit fc6313650f03b2c1bb097d7619478aa1fac6a39c
+%global git_commit 0d5f8b7657527eab8380f5aa81ecd072714cf13c
%{?git_commit:%global git_commit_hash %(c=%{git_commit}; echo ${c:0:7})}
%else
%global git_commit 0.0.1
@@ -75,10 +75,17 @@ exit 0
rm -rf %{buildroot}
%preun
-exit 0
%postun
+%if 0%{?fedora} || 0%{?rhel} >= 7
+%posttrans
+update-desktop-database 1>/dev/null 2>&1 || :
+%else
+%post
+update-desktop-database 1>/dev/null 2>&1 || :
+%endif
+
%files
%config %attr(0644, -, -) %{_sysconfdir}/%{name}.conf
%{_sysconfdir}/xdg/autostart
bgstack15