~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Iain Lane
  • Date: 2019-08-01 12:34:01 UTC
  • Revision ID: iain.lane@canonical.com-20190801123401-dd5pfj314b3t55hk
Make livepatch_get_num_fixes (private API) return 'ssize_t' instead of
'gssize', which will allow us to use the '%zd' format string to print its
value. That in turn allows the string to be extracted into the .pot file
for translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
# check if we have a unmodified conf-file rm upgrade-notifer
 
6
if [ -f /etc/apt/apt.conf.d/99upgrade-notifier ]; then
 
7
    if echo "9aff569ff6afcff455d5ba59c0587bab  /etc/apt/apt.conf.d/99upgrade-notifier" | md5sum -c 2>/dev/null; then
 
8
        rm -f  /etc/apt/apt.conf.d/99upgrade-notifier
 
9
    fi
 
10
fi
 
11
 
 
12
#DEBHELPER#