Skip to content

Commit bb562f0

Browse files
committed
[howdy-beta] remove config check
1 parent bbcd511 commit bb562f0

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/howdy/src/meson.build b/howdy/src/meson.build
2+
index 36dc05e..c624eaf 100644
3+
--- a/howdy/src/meson.build
4+
+++ b/howdy/src/meson.build
5+
@@ -101,10 +101,7 @@ install_data(
6+
rename: 'howdy',
7+
)
8+
9+
-fs = import('fs')
10+
-if not fs.exists(config_path)
11+
- install_data('config.ini', install_dir: confdir, install_mode: 'rwxr--r--', install_tag: 'config')
12+
-endif
13+
+install_data('config.ini', install_dir: confdir, install_mode: 'rwxr--r--', install_tag: 'config')
14+
15+
install_data('dlib-data/install.sh', 'dlib-data/Readme.md', install_dir: dlibdatadir, install_mode: 'rwxr--r--')
16+

howdy-beta/howdy.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Source10: https://github.com/davisking/dlib-models/raw/master/dlib_face_re
1919
Source11: https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2
2020
Source12: https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2
2121

22+
Patch0: 0001-remove-exists-check.patch
23+
2224
BuildRequires: gcc-c++
2325
BuildRequires: meson
2426
BuildRequires: bzip2

0 commit comments

Comments
 (0)