Create symlinks for themes directories to /opt/share/themes

This commit is contained in:
Bruce Leidl 2018-12-31 18:32:43 -05:00
parent bd18cf7f72
commit 079caaae13
2 changed files with 11 additions and 0 deletions

View File

@ -1,2 +1,12 @@
PACKAGES="man manpages vim-nox iputils-ping tmux vifm gnome-terminal firefox nautilus eog evince unzip x264" PACKAGES="man manpages vim-nox iputils-ping tmux vifm gnome-terminal firefox nautilus eog evince unzip x264"
POST_INSTALL_MODULES="setup_theme_symlinks"
setup_theme_symlinks() {
mkdir -p /opt/share
ln -sf /opt/share/themes/Adapta /usr/share/themes/Adapta
ln -sf /opt/share/themes/Adapta-Eta /usr/share/themes/Adapta-Eta
ln -sf /opt/share/themes/Adapta-Nokto /usr/share/themes/Adapta-Nokto
ln -sf /opt/share/themes/Adapta-Nokto-Eta /usr/share/themes/Adapta-Nokto-Eta
ln -sf /opt/share/icons/Paper /usr/share/icons/Paper
}

View File

@ -22,6 +22,7 @@ setup_rootfs() {
if [[ ${USE_TMPFS} -eq 1 ]]; then if [[ ${USE_TMPFS} -eq 1 ]]; then
mount -t tmpfs rootfs-tmp ${ROOTFS} mount -t tmpfs rootfs-tmp ${ROOTFS}
fi fi
chmod 0755 ${ROOTFS}
} }
run_debootstrap() { run_debootstrap() {