source: orange/install-scripts/mac/fink-restore-selections.sh @ 7679:62519ce566fd

Revision 7679:62519ce566fd, 445 bytes checked in by mitar, 3 years ago (diff)

Updated all other daily building Mac OS X scripts for new server.

  • Property exe set to *
Line 
1#!/bin/bash -e
2#
3# Should be run as: sudo ./fink-restore-selections.sh
4#
5
6# Sets error handler
7trap "echo \"Script failed\"" ERR
8
9((`id -u` == 0)) || { echo "Must run as root user (use sudo)."; exit 1; }
10
11dpkg --get-selections '*' | cut -f 1 | xargs -n 1 -J % echo % purge | dpkg --set-selections
12curl http://orange.biolab.si/svn/orange/trunk/install-scripts/mac/fink-selections.list | dpkg --set-selections
13apt-get --assume-yes dselect-upgrade
Note: See TracBrowser for help on using the repository browser.