- # mint firefox has a dependency which is totally not really
- # needed, just some mint branding and maybe a random firefox
- # setting.
- tmpdir="$(mktemp -d)"
- cd "$tmpdir"
- # edited from output of equivs-control ubuntu-system-adjustments
- cat >ubuntu-system-adjustments <<'EOF'
+ if pcheck ubuntu-system-adjustments; then
+ # mint firefox has a dependency which is totally not really
+ # needed, just some mint branding and maybe a random firefox
+ # setting.
+ tmpdir="$(mktemp -d)"
+ # it puts the deb in .., so use a subdir to stay contained
+ mkdir $tmpdir/sub
+ cd "$tmpdir/sub"
+ # edited from output of equivs-control ubuntu-system-adjustments
+ cat >ubuntu-system-adjustments <<'EOF'