Skip to content

Instantly share code, notes, and snippets.

@therealromster
Created November 5, 2016 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealromster/5890f5ccc5ac9dd08880abd1853df5aa to your computer and use it in GitHub Desktop.
Save therealromster/5890f5ccc5ac9dd08880abd1853df5aa to your computer and use it in GitHub Desktop.
prtsweep should ignore httpup if not found
# prtsweep -a -d
awk: fatal: cannot open file `/etc/ports/*.httpup' for reading (No such file or directory)
=======> /usr/ports/contrib/dev86
+ removing file dev86-copt.patch
=======> /usr/ports/contrib/ladspa
+ removing file ladspa-1.12.patch
=======> /usr/ports/contrib/lxmusic
+ removing file post-remove
=======> /usr/ports/contrib/lxpanel
+ removing file gmodule_link.patch
=======> /usr/ports/contrib/pjsip
+ removing file pjsip-sdl.patch
=======> /usr/ports/contrib/smpeg
+ removing file generate
=======> /usr/ports/contrib/wxgtk
+ removing file wxgtk-freeze.patch
=======> /usr/ports/contrib/xplanet
+ removing file xplanet-1.2.1.patch
=======> ERROR: '/usr/ports/core/COPYING' is not a directory!
Usage: prtsweep [-a] [-d] [-n] [PORTDIR ...]
# pwd
/root
# ls /etc/ports/
compat-32.pub contrib.rsync core.rsync opt.pub xorg.pub xorg.rsync.inactive
compat-32.rsync.inactive core.pub drivers opt.rsync xorg.rsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment