Changes between Version 25 and Version 26 of RpmHowToPackagers


Ignore:
Timestamp:
Oct 1, 2011, 10:33:33 PM (13 years ago)
Author:
dmik
Comment:

Change -e to -eq in if [] statements.

Legend:

Unmodified
Added
Removed
Modified
  • RpmHowToPackagers

    v25 v26  
    172172
    173173%postun
    174 if [ "$1" -e 0 ]; then # (upon removal)
     174if [ "$1" -eq 0 ]; then # (upon removal)
    175175    %wps_object_delete_all
    176176fi
     
    189189
    190190%postun
    191 if [ "$1" -e 0 ]; then # (upon removal)
     191if [ "$1" -eq 0 ]; then # (upon removal)
    192192    %wps_object_delete_all -n %{name}-extras
    193193fi