Advertisement:

Author Topic: Remove file  (Read 346 times)

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,898
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • SMF Helper
Remove file
« on: March 20, 2019, 10:29:14 AM »
When making a mod and you wanna remove a file when uninstalling it, is this the way to do it:

Code: [Select]
<remove-file name="$sourcesdir/file.phpOr is it:
Code: [Select]
<remove-file name="$sourcedir/file.phpsource or sources

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,934
    • StoryBB/StoryBB on GitHub
Re: Remove file
« Reply #1 on: March 20, 2019, 10:47:26 AM »
$sourcedir.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,898
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • SMF Helper
Re: Remove file
« Reply #2 on: March 20, 2019, 10:51:25 AM »
Thank you.