File: install-hello

package info (click to toggle)
apt-eatmydata 1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 48 kB
  • sloc: sh: 27; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# with apt-eatmydata
strace -ff -oapt-eatmydata.trace apt-get install -y hello
! grep ^fsync apt-eatmydata.trace*

apt-get -y remove apt-eatmydata || dpkg --compare-versions "$(dpkg-query -W -f='${Version}\n' apt)" lt "2.9.22" && apt-get -y remove apt-eatmydata

# without apt-eatmydata
strace -ff -oapt-eatmydata.trace apt-get install --reinstall hello
grep ^fsync apt-eatmydata.trace*