diff --git a/appimg-builder/basic-image.conf b/appimg-builder/basic-image.conf index f4cee25..4562110 100644 --- a/appimg-builder/basic-image.conf +++ b/appimg-builder/basic-image.conf @@ -1,2 +1,12 @@ 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 +} diff --git a/appimg-builder/stage-one.sh b/appimg-builder/stage-one.sh index d419cf5..9bdeb1e 100755 --- a/appimg-builder/stage-one.sh +++ b/appimg-builder/stage-one.sh @@ -22,6 +22,7 @@ setup_rootfs() { if [[ ${USE_TMPFS} -eq 1 ]]; then mount -t tmpfs rootfs-tmp ${ROOTFS} fi + chmod 0755 ${ROOTFS} } run_debootstrap() {