Commit 29334d0f authored by Mayoro Diagne's avatar Mayoro Diagne

use removedirs to remove none empty folder

parent 5b508901
......@@ -12,8 +12,8 @@ def setup(args):
os.chmod(config_php, 0444)
os.remove(install_php)
os.remove(install_folder)
os.remove(upgrade_php)
os.removedirs(install_folder)
if __name__ == '__main__':
setup(sys.argv[1:])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment