16 lines
No EOL
399 B
Bash
Executable file
16 lines
No EOL
399 B
Bash
Executable file
#! /bin/bash
|
|
|
|
if [ $(id -u) -ne "0" ]; then
|
|
echo "Please execute with superuser privileges"
|
|
exit -1
|
|
fi
|
|
|
|
cp ./sources.list /etc/apt/sources.list
|
|
cp ./preferences.d/my_preferences /etc/apt/preferences.d/my_preferences
|
|
cp -r ./sources.list.d/* /etc/apt/sources.list.d
|
|
|
|
apt-get update
|
|
apt-get install dselect
|
|
dpkg --set-selections < "manual_package_save"
|
|
apt-get dselect-upgrade
|
|
apt-get remove dselect |