Skip to content

Commit

Permalink
Fix install on new system
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Oct 11, 2023
1 parent 3cfc4b5 commit 3a795a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/rsetup-config-first-boot.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions debian/rsetup.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a795a2

Please sign in to comment.