Skip to content

Instantly share code, notes, and snippets.

@HeikoBornholdt
Created August 15, 2014 12:40
Show Gist options
  • Save HeikoBornholdt/5d3e34c31d4257146f09 to your computer and use it in GitHub Desktop.
Save HeikoBornholdt/5d3e34c31d4257146f09 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Executing hook: $0"
cd ${LOCALREPO}
dpkg-scanpackages . /dev/null > Packages
echo "deb file:${LOCALREPO} ./" >> /etc/apt/sources.list
apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment