Skip to content

Commit 06ec69b

Browse files
committed
Implement reset for Ubuntu
[GitHub #118 #111]
1 parent 943d4ed commit 06ec69b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/recipe/os/APT/Ubuntu.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,20 @@ os_ubuntu_setsrc (char *option)
116116
}
117117

118118

119+
void
120+
os_ubuntu_resetsrc (char *option)
121+
{
122+
os_ubuntu_setsrc (option);
123+
}
124+
125+
119126
FeatInfo
120127
os_ubuntu_feat (char *option)
121128
{
122129
FeatInfo f = {0};
123130

124131
f.can_get = true;
125-
f.can_reset = false;
132+
f.can_reset = true;
126133

127134
f.cap_locally = CanNot;
128135
f.locally = NULL;
@@ -133,4 +140,4 @@ os_ubuntu_feat (char *option)
133140
return f;
134141
}
135142

136-
def_target_gsf(os_ubuntu);
143+
def_target_gsrf(os_ubuntu);

0 commit comments

Comments
 (0)