mirror of https://github.com/CIRCL/Circlean
28 lines
548 B
Bash
Executable File
28 lines
548 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# change locales to en_US.UTF-8
|
|
dpkg-reconfigure locales
|
|
|
|
sed -i "s/wheezy/jessie/" /etc/apt/sources.list
|
|
apt-get update
|
|
apt-get dist-upgrade
|
|
apt-get autoremove
|
|
apt-get install libreoffice p7zip-full libfontforge1 timidity freepats pmount
|
|
dpkg -i pdf2htmlex*.deb
|
|
|
|
# Make Libreoffice usable on a RO filesystem
|
|
useradd -m kitten
|
|
pushd /home/kitten
|
|
ln -s /tmp/libreoffice
|
|
popd
|
|
|
|
chown -R kitten:kitten /home/kitten
|
|
|
|
ln -s /proc/mounts /etc/mtab
|
|
|
|
# Disable swap
|
|
dphys-swapfile uninstall
|
|
|
|
# enable rc.local
|
|
systemctl enable rc-local.service
|