diff --git a/debian/rsetup-config-first-boot.postinst b/debian/rsetup-config-first-boot.postinst index 494e77a0..ae6359c6 100755 --- a/debian/rsetup-config-first-boot.postinst +++ b/debian/rsetup-config-first-boot.postinst @@ -6,6 +6,10 @@ action="$1" if [ "$action" = configure ] then + if [ ! -e /config ] + then + mkdir /config + fi if [ ! -e /config/before.txt ] then cp /usr/share/doc/rsetup-config-first-boot/before.txt /config/before.txt diff --git a/debian/rsetup.postinst b/debian/rsetup.postinst index 3f1ce1df..dd4578dc 100755 --- a/debian/rsetup.postinst +++ b/debian/rsetup.postinst @@ -6,6 +6,10 @@ action="$1" if [ "$action" = configure ] then + if [ ! -e /config ] + then + mkdir /config + fi if [ ! -e /config/config.txt ] then cp /usr/share/doc/rsetup/config.txt /config/config.txt