Skip to content

Commit

Permalink
cp instead of mv so uninstall scriptlet does not throw an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
asternic committed Sep 27, 2023
1 parent 71213a6 commit 814b4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issabel-pbx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ else
fi

varwriter=1
mv /usr/share/issabel/module_installer/%{name}-%{version}-%{release}/setup/extensions_override_issabel.conf /etc/asterisk/
cp /usr/share/issabel/module_installer/%{name}-%{version}-%{release}/setup/extensions_override_issabel.conf /etc/asterisk/
chown -R asterisk.asterisk /etc/asterisk

if [ $varwriter -eq 1 ]; then
Expand Down

0 comments on commit 814b4d6

Please sign in to comment.