Created
November 19, 2011 00:01
-
-
Save Cloudef/1378156 to your computer and use it in GitHub Desktop.
milkyhelper, repo download
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install && Update everything from repo | |
# Virtual SD (Download directory) | |
# Creates pandora layout there and stores libmilky database | |
VD="/absolute/path/to/download/dir" | |
mkdir -p "$VD" | |
# Sync database with repo | |
milky -r "$VD" -Sy | |
# Install, but do not reinstall | |
milky --noconfirm --needed -r "$VD" -S $(milky -r "$VD" -Si | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | grep '^ID' | sed -re 's/^ID[\t ]+: //g'); | |
# Update everything | |
milky -r "$VD" --noconfirm -Su |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment