Sha256: c3d76815bbe4d2eff828b016676b28ab2a371c89fefe38533e3b5e49159972be
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
#! /bin/sh # Script to get all the PPA installed on a system for APT in `find /etc/apt/ -name \*.list`; do grep -Po "(?<=^deb\s).*?(?=#|$)" $APT | while read ENTRY ; do HOST=`echo $ENTRY | cut -d/ -f3` USER=`echo $ENTRY | cut -d/ -f4` PPA=`echo $ENTRY | cut -d/ -f5` #echo sudo apt-add-repository ppa:$USER/$PPA if [ "ppa.launchpad.net" = "$HOST" ]; then echo ppa:$USER/$PPA else echo ${ENTRY} fi done done
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nuri-0.5.5 | modules/package2/apt-repo-list.sh |
nuri-0.5.4 | modules/package2/apt-repo-list.sh |