mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Remove old test designed for packaging v1 era
This commit is contained in:
parent
26baf92a58
commit
1e06b8146f
1 changed files with 0 additions and 16 deletions
|
@ -1139,22 +1139,6 @@ class App(TestSuite):
|
||||||
):
|
):
|
||||||
yield Error("Don't do black magic with /etc/ssowat/conf.json.persistent!")
|
yield Error("Don't do black magic with /etc/ssowat/conf.json.persistent!")
|
||||||
|
|
||||||
@test()
|
|
||||||
def bad_final_path_location(self):
|
|
||||||
if (
|
|
||||||
os.system(
|
|
||||||
f"grep -q -nr 'ynh_webpath_register' {self.path}/scripts/install 2>/dev/null"
|
|
||||||
)
|
|
||||||
== 0
|
|
||||||
and os.system(
|
|
||||||
f"grep -q -nr 'final_path=/opt' {self.path}/scripts/install {self.path}/scripts/_common.sh 2>/dev/null"
|
|
||||||
)
|
|
||||||
== 0
|
|
||||||
):
|
|
||||||
yield Info(
|
|
||||||
"Web applications are not supposed to be installed in /opt/ ... They are supposed to be installed in /var/www/$app :/"
|
|
||||||
)
|
|
||||||
|
|
||||||
@test()
|
@test()
|
||||||
def app_data_in_unofficial_dir(self):
|
def app_data_in_unofficial_dir(self):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue