RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    installment coding help

    Scheduled Pinned Locked Moved Help and Support
    codingscript
    3 Posts 2 Posters 428 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AirysDark
      last edited by

      hello i was wondering if anyone could help me with a short cut with my installment script.

      Using this function

      
      function install_srb2() {
          # copy and dereference, so we get a srb2 binary rather than a symlink to lsdlsrb2-2.2.8-version
          cp -L 'build/bin/lsdlsrb2' "$md_inst/srb2"
          md_ret_files=(
              'assets/installer/music.dta'
         }
      '
      

      is there anyway i can write a function that just copys anything in the installer folder and sub folders?

      thanks in advanced AirysDark

      FollyF 1 Reply Last reply Reply Quote 0
      • FollyF
        Folly @AirysDark
        last edited by

        @AirysDark

        Do something like this and it will copy all files and directories(I think) from the assets/installer folder.

        md_ret_files=(
        
               'assets/installer/.'
        
        A 1 Reply Last reply Reply Quote 0
        • A
          AirysDark @Folly
          last edited by

          @Folly

          Cool thanks ill give it a try

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.